RE: [PHP] Variables
| From: | Maxim Maletsky | Date: | Wed, 11 Jul 2001 07:20:51 +0000 |
| Subject: | RE: [PHP] Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57315@lists.php.net to get a copy of this message | ||
What's impossible?
$test1 = 'foo';
$test2 = 'foo';
echo 'it is ';
if($test1==$test2) {
echo 'very ';
}
else {
echo 'im';
}
echo 'possible';
Guess what will this print to you...
-Maxim Maletsky
-----Original Message-----
From: Adrian Ciutureanu [mailto:adrian.ciutureanu@softure.com]
Sent: Wednesday, July 11, 2001 3:24 PM
To: James Bartlett
Cc: php-general@lists.php.net
Subject: RE: [PHP] Variables
That's IMPOSIBLE!
> -----Original Message-----
> From: James Bartlett [mailto:zotud@btinternet.com]
> Sent: 11 iulie 2001 05:27
> To: php-general@lists.php.net
> Subject: Re: [PHP] Variables
>
>
> I have tried that also...it still does not want to work...
> ----- Original Message -----
> From: Dallas K.
> To: James Bartlett ; php-general@lists.php.net
> Sent: Wednesday, July 11, 2001 5:43 AM
> Subject: Re: [PHP] Variables
>
>
> don't use the quotes....
>
> if($test1 == $test2)
> { echo "True";
> }
> else
> { echo "False";
> }
--
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