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:
-
2021-01-12 07:23
$color="1";
while ($line = mysql_fetch_array($result)) {
if($color==1){
echo '';
$color="2";
} else {
echo '
';
$color="1";
}
?>= $line[name] ?> |
}
?>
This is my working code !