I have a table of data that is generated dynamically based on the contents stored in a mysql database.
This is how my code looks:
6条回答 伪装坚强ぢ (楼主) 2021-01-12 07:29 Here is my working part ! ` $i=1; while($row = mysqli_fetch_array($result)) { if($i%2==0) { echo ''; } else { echo ''; } $i++; echo "" . $row['blah'] . ""; echo "" . $row['blah_blah'] . ""; echo ""; } echo "";
Here is my working part ! `
$i=1; while($row = mysqli_fetch_array($result)) { if($i%2==0) { echo ''; } else { echo ''; } $i++; echo "" . $row['blah'] . ""; echo "" . $row['blah_blah'] . ""; echo ""; } echo "
`