Well
You can use something like this:
variable = documents.forms[0].elements['foo[]'];
"Zeev Suraski" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 19:20 10/5/2001, Andrei Zmievski wrote:
> >On Thu, 10 May 2001, Zeev Suraski wrote:
> > > Why does it make more sense? Is there any advantage in using this
over
> > > using foo[]? By changing this behavior, we're actually losing
> > > functionality, not adding any.
> >
> >Interaction with Javascript is problematic if you use [] in the variable
> >name. That's one disadvantage.
>
> With no easy workaround such as \[\] or something like that?
>
> Zeev
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]