SahilMepani
6/20/2017 - 6:36 PM

PHP: Odd/Even

PHP: Odd/Even

<?php
  if ( $i&1 ) {
    $animation = 'fadeInRight';
  } else {
    $animation = 'fadeInLeft';
  }
?>