note 117401 added to control-structures.if
| From: | brianatwebdesignacademy.co.za | Date: | Thu, 04 Jun 2015 10:25:59 +0000 |
| Subject: | note 117401 added to control-structures.if | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202741@lists.php.net to get a copy of this message | ||
You can also check alphabet characters like this
<?php
// Alphabetical Comparison
$a="brian";
$b="zebra";
if ($a < $b){
echo $a." is before ".$b." in the alphabet";
}
else{
echo $a." is after ".$b." in the alphabet";
}
// Result : brian is before zebra in the alphabet
?>
----
Server IP: 72.52.91.14
Probable Submitter: 197.245.191.41
----
Manual Page -- http://php.net/manual/en/control-structures.if.php
Edit -- https://master.php.net/note/edit/117401
Del: integrated -- https://master.php.net/note/delete/117401/integrated
Del: useless -- https://master.php.net/note/delete/117401/useless
Del: bad code -- https://master.php.net/note/delete/117401/bad+code
Del: spam -- https://master.php.net/note/delete/117401/spam
Del: non-english -- https://master.php.net/note/delete/117401/non-english
Del: in docs -- https://master.php.net/note/delete/117401/in+docs
Del: other reasons-- https://master.php.net/note/delete/117401
Reject -- https://master.php.net/note/reject/117401
Search -- https://master.php.net/manage/user-notes.php