Executing Multiple Statements with One if : If statement « Statement « PHP
- PHP
- Statement
- If statement
Executing Multiple Statements with One if
<?
$sky_color = "blue";
if($sky_color == "blue") {
print("A <br/>");
print("B <br/>");
}
print("Here I am.");
?>
Related examples in the same category