RE: [PHP-DB] Multiselect List

2005-05-19 Thread RJameson
Ivanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 12:25 PM To: Ryan Jameson (USA) Subject: Re: [PHP-DB] Multiselect List Place the countries in array. Name the select with your array name. select name=?=$yourarrayname? and for the option use as value the keys from the array.Where

Re: [PHP-DB] Multiselect List

2005-05-19 Thread Dusty Bin
Ryan, you've had a couple of solutions that will work. The macromedia function, and the direct reference to the element - document.formName.elements['listBoxName[]']. For me the direct reference to the element is the most simple, and you can access the properties in the normal way e.g.

RE: [PHP-DB] Multiselect List

2005-05-18 Thread Ryan Jameson \(USA\)
Ivanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 12:25 PM To: Ryan Jameson (USA) Subject: Re: [PHP-DB] Multiselect List Place the countries in array. Name the select with your array name. select name=?=$yourarrayname? and for the option use as value the keys from the array.Where

Re: [PHP-DB] Multiselect List

2005-05-18 Thread Dusty Bin
Ryan, you should be able to refer to the listbox in javascript as document.formName.elements['listBoxName[]']. Hope this helps... Dusty Ryan Jameson wrote: That's not the problem. The problem is referring to the listbox via javascript. It doesn't like the format:

Re: [PHP-DB] Multiselect List. .

2005-05-18 Thread Patel, Aman
Ryan Jameson (USA) wrote: That's not the problem. The problem is referring to the listbox via javascript. It doesn't like the format: formName.listBoxName[].value it has no problem with formName.listBoxName.value but then PHP doesn't seem to handle it correctly. There is a function called

Re: [PHP-DB] Multiselect List

2005-05-18 Thread Brent Baisley
it has no problem with formName.listBoxName.value but then PHP doesn't seem to handle it correctly. Ryan From: Dimiter Ivanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 12:25 PM To: Ryan Jameson (USA) Subject: Re: [PHP-DB] Multiselect List Place

RE: [PHP-DB] Multiselect List

2005-05-18 Thread Dimiter Ivanoff
PROTECTED] Sent: Wednesday, May 18, 2005 12:25 PM To: Ryan Jameson (USA) Subject: Re: [PHP-DB] Multiselect List Place the countries in array. Name the select with your array name. select name=?=$yourarrayname? and for the option use as value the keys from the array.Where your keys

Re: [PHP-DB] Multiselect List. .

2005-05-18 Thread Martin Norland
Patel, Aman wrote: Ryan Jameson (USA) wrote: That's not the problem. The problem is referring to the listbox via javascript. It doesn't like the format: formName.listBoxName[].value it has no problem with formName.listBoxName.value but then PHP doesn't seem to handle it correctly. There is a