Jump to content
php.lv forumi

defineet.


Recommended Posts

$sql = ("SELECT * FROM teams WHERE league_id='".$_GET['id']."' AND league_status='join'");
$result = @mysql_query($sql) or die(mysql_error()); 
echo "<br />Pieteikumus iesniegushas<br />";
$i=0;
while($row = mysql_fetch_array($result))

echo "<br />".++$i.". ".$row["name"]."";

 

Pienemsim ka man datubaazee ir 30 komandu nosaukumi( neviens no tiem neatkaartojas ).

Man vajag kka tos visus definaat piem: $team_1_, $team_2_ utt. Vai tas ir iespeejaams?

Link to post
Share on other sites
×
×
  • Create New...