The below condition checks the value of the above variable and returns (produces a result) a message in the output window (accordingly).
//--------- Declare Variable --------------
$yourCharacter= "good";
//------------ Condition ------------------
if ($yourCharacter == "good") {
print "You are my friend";
} else {
print "You are not my friend";
}
No comments:
Post a Comment