If Statement CODE
`If string value(number) is less than 5 returns "Your number is less than 5!"

$st = strlen("game"); // returns 4

if ($st < 5 ) {
	echo "Your number is less than 5!". "\n";
` if number is more than 5, but less than 10 returns: } elseif ($st < 10) { echo "Your number is less than 10!". "\n";
`
And finally, if the number is higher than 10 returns:

	} else {
		echo "Your number is out of the range:("."\n";
	}
`
by Gigi Butchvelashvili
2 years ago
PHP
IF statement
0
Pro tip: use ```triple backticks around text``` to write in code fences