Another example CODE
// Interesting example about if-elseif-else statement

$test = "STRING, NOT INTEGER OR FLOAT";
if ($test < 12) {
	echo "child";
} else if ($test > 12 && $test < 18 ) {
	echo "teen";
} else {
	echo "adult";
}
// what do you think, what will be output, error or ? 
// make that example on your PC if you are a begginer :)
by Luka Khitaridze
2 years ago
PHP
PHP LOOPS
-1
Pro tip: use ```triple backticks around text``` to write in code fences
0
Valeri Tandilashvili 2 years ago
Put that code into three Backticks
REPLY