Return to Snippet

Revision: 20072
at November 6, 2009 05:33 by ReeceMarsland


Initial Code
function theme_oddeven($row) {
  if ($row % 2) {
    return 'odd';
  } else {
    return 'even';
  }
}

Initial URL

                                

Initial Description

                                

Initial Title
Odd and Even classes Function

Initial Tags
css, php, drupal

Initial Language
PHP