Last active
June 4, 2019 13:49
-
-
Save flaviors200/98fe8c256eb02d90c139352503a29b6a to your computer and use it in GitHub Desktop.
Conditional statement: else
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 = 10; | |
$y = 14; | |
if ($x > $y) { | |
echo "$x è maggiore di $y"; | |
} else { | |
echo "$x è minore o uguale di $y"; // Output: 10 è minore o uguale di 14 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment