/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for($i=0;$i<10;$i++) { if($i % 2) { // I'm in an even row }else{ // I'm in an odd row } }