Re: [PHP] How to do Javascript for the HTML/PHP Array (See Below)

2003-09-17 Thread Scott Fletcher
Ah! So I do this to make it work where count can be any number... f.elements['MyArray[]'][count].value That does work now. It's been mind boggling to do the conversion between JavaScript, HTML and PHP when it come to an array but I'm learning. :-) Thanks a million... Scott F. "Marek Kilimaj

Re: [PHP] How to do Javascript for the HTML/PHP Array (See Below)

2003-09-17 Thread Marek Kilimajer
if f = your form then f.elements['MyArray[]'] is a javascript array of input elements. Scott Fletcher wrote: Hi Fellas! Here's the clipping of an article about putting HTML variables into a PHP Array upon submission. Right now, I'm having trouble getting Javascript to do the error checking

[PHP] How to do Javascript for the HTML/PHP Array (See Below)

2003-09-17 Thread Scott Fletcher
Hi Fellas! Here's the clipping of an article about putting HTML variables into a PHP Array upon submission. Right now, I'm having trouble getting Javascript to do the error checking of each of the HTML variable if it's variable name is treated as an array. Anyone know of a workaround to it w