RE: [PHP] comparing numbers
| From: | David Harrison | Date: | Sun, 25 Feb 2001 02:55:26 +0000 |
| Subject: | RE: [PHP] comparing numbers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41533@lists.php.net to get a copy of this message | ||
Do you mean something like:
<?php
if ($id <= 59)
$id = 81;
?>
--dave
-----Original Message-----
From: Clayton Dukes [mailto:cdukes@cdukes.com]
Sent: Sunday, February 25, 2001 12:54 PM
To: php-general@lists.php.net
Subject: [PHP] comparing numbers
How can I do something like the following shell script, in PHP? (I know this
won't work normally, but you get the idea).
if [ $id <= 59 ]; then
$id=81
TIA!
Clayton Dukes