Posted By

ReeceMarsland on 11/06/09


Tagged

css php drupal


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Odd and Even classes Function


 / Published in: PHP
 

  1. function theme_oddeven($row) {
  2. if ($row % 2) {
  3. return 'odd';
  4. } else {
  5. return 'even';
  6. }
  7. }

Report this snippet  

You need to login to post a comment.