Re: [PHP] Php Form Issue

2002-11-16 Thread Justin French
Hi, on 17/11/02 7:58 AM, Keith Spiller ([EMAIL PROTECTED]) wrote: > Does anyone have an idea how I can make the php script gather all the multiple > &browser=lynx&browser=mosaic&browser=explorer > instead of only the last entry? That URL is like writing: And expecting that $foo contains both

Re: [PHP] Php Form Issue

2002-11-16 Thread John Nichel
Put the brackets for php... Now, to loop through the elements in JavaScript, you're going to have to do something like this var test = false; for ( i = 0; i < document.forms[0].elements['myname[]'].length; i++ ) //code for whatever you want to do here //if you want to check if at least o

Re: [PHP] Php Form Issue

2002-11-16 Thread David Rice
Hi Keith: Unfortunately, the information has to be sent to php. As soon as I add the [] brackets to an input name, the javascript no longer functions. I'll look up a javascript mailing list next, but I figured there must be some other way to get php to recieve the data and convert it to an a

[PHP] Php Form Issue

2002-11-16 Thread Keith Spiller
Hello, I've managed to get a series of javascripts to work exactly as I wanted. They check all and uncheck all checkboxes with a single click of a control checkbox. Unfortunately, the information has to be sent to php. As soon as I add the [] brackets to an input name, the javascript no longer