Parašė epiks· 2011 Kov. 14 16:03:34
#3
<?
$teams = array();
$rezultatai = mysql_query("SELECT * FROM teams order by played desc limit 10");
$i = 1;
while ($q = mysql_fetch_array($rezultatai)) {
echo "<table width='249' cellpadding='0' cellspacing='0'>
<td>
<span style='color:white'>{$i}. <a href='".BASEDIR."infusions/stats/komandos.php?id={$q['id']}'><span style='color:#FFF'>{$q['name']}</a>
</td>
<td>
<span style='color:white'>{$q['played']}<small><span style='color:white'>rungt.
</td>
</tr>";$i++;
}
echo "</table>";
?>
Va koda gal galit kas peredaguot vieną bent kitus jau pats. nes table tai yra