Last active
August 29, 2015 14:07
-
-
Save Southparkfan/5c1730c7a5149bcc0477 to your computer and use it in GitHub Desktop.
MW syntax compared to WP's one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MW (deze zonder juiste indent geloof ik: | |
if ($iets == 1) { | |
echo "Hoi dit is {$iets}"; | |
} elseif ($iets == 2) { | |
echo "En dit is {$iets}"; | |
} else { | |
echo 'Doei'; | |
} | |
WP: | |
if ($iets == 1) | |
{ | |
echo "Hoi dit is {$iets}"; | |
} | |
elseif ($iets == 2) | |
{ | |
echo "En dit is {$iets}"; | |
} | |
else | |
{ | |
echo 'Doei'; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment