Kate asked about this several months ago, and I posted some code and hints on
how to work around this problem. AFAIR, you simply refer to the form elements
by their names, including brackets, but put " or ' around them, ie:
val = "document.form.city[1]";
I think that works, there's an answer to this question on http://faqts.com/
where I got the original answer.
Donncha.
On Monday 19 August 2002 18:28, Dave Wilson wrote:
> > er, i understood you until you reached the above. Maybe its my lack of
> > PHP but why would a variable name _need_ to end with [] ?
> >
> > With most languages you parse the submitted form data and should come
> > out with either variables or an array / hash, which you then work with
> > and name whatever you like.
>> IIRC, if the query string contains
>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!