Matthew Fonda wrote:
On Sun, 2004-10-03 at 04:39, Graham Cossey wrote:
isn't the || same as && ? Or I missed something?
No, || is OR, and && is AND
Check out http://www.php.net/manual/en/language.operators.logical.php
Wll - sort of. The precedence level can be tricky, sometimes
"||" doesn
Matthew Fonda wrote:
On Sun, 2004-10-03 at 04:39, Graham Cossey wrote:
isn't the || same as && ? Or I missed something?
No, || is OR, and && is AND
Check out http://www.php.net/manual/en/language.operators.logical.php
OK, sorry, my mistake. And thanks.
newbie
--
PHP General Mailing List (http://ww
On Sun, 2004-10-03 at 04:39, Graham Cossey wrote:
> isn't the || same as && ? Or I missed something?
No, || is OR, and && is AND
Check out http://www.php.net/manual/en/language.operators.logical.php
--
Regards,
Matthew Fonda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
MAIL PROTECTED]
> Sent: 03 October 2004 11:30
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: set multiple variables
>
> Daniel Schierbeck wrote:
> > Argesson wrote:
> >
> >> try this:
> >> if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_AD
||= OR
&& = AND
-Original Message-
From: argesson [mailto:[EMAIL PROTECTED]
Sent: 03 October 2004 11:30
To: [EMAIL PROTECTED]
Subject: [PHP] Re: set multiple variables
Daniel Schierbeck wrote:
> Argesson wrote:
>
>> try this:
>> if ($REMOTE_ADDR == &qu
Daniel Schierbeck wrote:
Argesson wrote:
try this:
if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_ADDR == "212.3.54.66")
Joe Szilagyi wrote:
Hi, I have this working:
if ($REMOTE_ADDR == "212.3.54.65") {
header("Location: http://www.google.com/search?&q=huzzah";);
Redirect browser
exi
Argesson wrote:
try this:
if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_ADDR == "212.3.54.66")
Joe Szilagyi wrote:
Hi, I have this working:
if ($REMOTE_ADDR == "212.3.54.65") {
header("Location: http://www.google.com/search?&q=huzzah";);
Redirect browser
exit;
}
But I want t
try this:
if ($REMOTE_ADDR == "212.3.54.65" && $REMOTE_ADDR == "212.3.54.66")
Joe Szilagyi wrote:
Hi, I have this working:
if ($REMOTE_ADDR == "212.3.54.65") {
header("Location: http://www.google.com/search?&q=huzzah";);
Redirect browser
exit;
}
But I want to specify multip
8 matches
Mail list logo