$datasx = array();
while ($datasx[] = mysql_fetch_array($coco)) ;
if ($i % 10 == 0) {
echo '<table><tbody><tr><td>' . $t . '' . $datasx[$t]['side'] . '</td><td>x' . $datasx[$t + 1]['side'] . '</td></tr></tbody></table>
<table cellspacing="0" cellpadding="0"> <thead><tr class="firsttr">
<th></th>
<th>Player</th>
<th>Takım</th>
...
<th>Ward Placed %</th>
<th>Ward Cleared %</th>
</tr>
</thead>
<tbody>';
$t += 2;
}
only works when if work first time.
Blue and red are values of $datasx[$t]['side']
$datasx[$2]['side'],$datasx[$3]['side'] are not null.
If working all time but first line works for only first time.
Sorry for title my english is not good i couldn't find a good title about this question :/
Aucun commentaire:
Enregistrer un commentaire