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 commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DB] variable if statement Brian Weisenthal
- Re: [PHP-DB] variable if statement Jason Wong
- Re: [PHP-DB] variable if statement Andrey Hristov
- RE: [PHP-DB] variable if statement Rick Emery
- Re: [PHP-DB] variable if statement Andrey Hristov