Skip to content

Instantly share code, notes, and snippets.

@adanzilla
Last active September 3, 2015 16:06
Show Gist options
  • Save adanzilla/a6952fc7b2c5d727512f to your computer and use it in GitHub Desktop.
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