Created
January 1, 2018 22:44
-
-
Save ryanckulp/2497149b18f8bd1fa9a1471806235101 to your computer and use it in GitHub Desktop.
if/else example in PHP
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
<?php | |
$x = 4; | |
if ($x == 4) { | |
echo "Correct!"; | |
} else { | |
echo "Inorrect!"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment