Re: comparing numbers

From: Date: Sun, 25 Feb 2001 04:02:57 +0000
Subject: Re: comparing numbers
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-41535@lists.php.net to get a copy of this message
Ahh, cool, thanks :-) ----- Original Message ----- From: "Joe Stump" <jstump@zebulon.miester.org> To: "Clayton Dukes" <cdukes@cdukes.com> Cc: <php-general@lists.php.net> Sent: Saturday, February 24, 2001 10:03 PM Subject: Re: [PHP] comparing numbers > just replace the [] with () > > if($id <= 59) > { > $id = 81; > } > > --Joe > > On Sat, Feb 24, 2001 at 09:54:08PM -0500, Clayton Dukes wrote: > > > > 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 > > > > -- > > -------------------------------------------------------------------------- ----- > Joe Stump, PHP Hacker, -o) > http://www.miester.org http://www.care2.com /\\ > "It's not enough to succeed. Everyone else must fail" -- Larry Ellison _\_V > -------------------------------------------------------------------------- -----

« previous php.general (#41535) next »