/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function theme_oddeven($row) { if ($row % 2) { return 'odd'; } else { return 'even'; } }