Re: [PHP-DB] variable if statement

2001-08-23 Thread Andrey Hristov
IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 8:27 PM Subject: RE: [PHP-DB] variable if statement > eval will work, but the entire thing must be

RE: [PHP-DB] variable if statement

2001-08-23 Thread Rick Emery
CTED]] Sent: Thursday, August 23, 2001 12:15 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] variable if statement i want to do something like this: $string="($a==1) OR ($b==2)"; if ($string) { do something ; } any ideas? i tried using if (eval($string)) but that just gave me errors. thank

Re: [PHP-DB] variable if statement

2001-08-23 Thread Andrey Hristov
} Hope this will help. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Brian Weisenthal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 8:14 PM Subject: [PHP-DB] variable if statement >

Re: [PHP-DB] variable if statement

2001-08-23 Thread Jason Wong
- Original Message - From: Brian Weisenthal <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 24, 2001 1:14 AM Subject: [PHP-DB] variable if statement > i want to do something like this: > > $string="($a==1) OR ($b==2)"; > > if

[PHP-DB] variable if statement

2001-08-23 Thread Brian Weisenthal
i want to do something like this: $string="($a==1) OR ($b==2)"; if ($string) { do something ; } any ideas? i tried using if (eval($string)) but that just gave me errors. thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm