RE: [PHP] concatenate vars?
| From: | PHPBeginner.com | Date: | Sat, 24 Feb 2001 06:16:24 +0000 |
| Subject: | RE: [PHP] concatenate vars? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41449@lists.php.net to get a copy of this message | ||
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)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: W.D. [mailto:suedeuno@yahoo.com]
Sent: Friday, February 23, 2001 5:38 AM
To: Philip Olson
Cc: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net