note:
you should use $array[test] if test is a string
and $array[test] if test is a constant.
do not use $array[test] if you mean the string test.
$array[test] will also work, if test is a string.
Php then tries to look for a constant with name test,
won't find one and evaluate test as string.
Okay, looks like I was stupid/lazy for including the pseudo code instead of
something closer to what I was using. Also, perhaps I'm being dense, but I
don't understand what Michael's response has to do with this situation. Can
he or someone else enlighten me? Here's a more accurate/detailed
]
To: [EMAIL PROTECTED]
Sent: May 22 2002 11:19 AM
Subject: [PHP] Re: JavaScript vs. Header redirect
Okay, looks like I was stupid/lazy for including the pseudo code instead
of
something closer to what I was using. Also, perhaps I'm being dense, but
I
don't understand what Michael's response has
3 matches
Mail list logo