no, you need to do three different comparisons :
if( ... something ... )
(eregi("stuff1", $one) and eregi("stuff2", $two) and eregi("stuff3",
$three)) ? : do this : do that
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-----Original Message-----
From: W.D. [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 5:38 AM
To: Philip Olson
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] concatenate vars?
Thanks,
do you know if making multiple statements to eregi in line 3 is possible?
1. if(...something...)
2.{
3. (eregi("stuff1", $one)("stuff2", $two)("stuff3", $three)) ?
4. do something : do something else;
_________________________________________________________ Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General 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]
--
PHP General 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]