Skip to content

Instantly share code, notes, and snippets.

@adanzilla
Last active September 3, 2015 16:06
Show Gist options
  • Select an option

  • Save adanzilla/a6952fc7b2c5d727512f to your computer and use it in GitHub Desktop.

Select an option

Save adanzilla/a6952fc7b2c5d727512f to your computer and use it in GitHub Desktop.
PHP - Contador uno si uno no
$clase = @$cnt1++%2==0 ? "normal" : "alterna";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment