RE: [PHP] comparing numbers

2001-02-25 Thread PHPBeginner.com
$id = ($id<=59) ? $id=81 : false; or the traditional way: if($id<=59) { $id=81; } Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]

Re: [PHP] comparing numbers

2001-02-24 Thread Clayton Dukes
Ahh, cool, thanks :-) - Original Message - From: "Joe Stump" <[EMAIL PROTECTED]> To: "Clayton Dukes" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, February 24, 2001 10:03 PM Subject: Re: [PHP] comparing numbers > just replace the

RE: [PHP] comparing numbers

2001-02-24 Thread David Harrison
Do you mean something like: --dave -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 12:54 PM To: [EMAIL PROTECTED] Subject: [PHP] comparing numbers How can I do something like the following shell script, in PHP? (I know this won't w

Re: [PHP] comparing numbers

2001-02-24 Thread Joe Stump
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 >