> -----Original Message-----
> From: Tularis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 12:45 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: problem with code (almost fixed)
>
> first, change this: $_REQUEST['pac_hot[0]'] to:
> $_REQUEST["$pac_hot[0]"]
> a single quote (  '  ) disallows variable-matching, meaning it won't
> replace $var by what it should be, it just leaves it as it
> where a real
> character it should show.
>
> that should work on all your request array stuff.... hope
> this helps :)
>

That would not work if register_globals is not turned ON. Actually, if
it'd work, it's useless to use $_REQUEST as you already have the
variable available in the global space.

Noor


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to