Re: [PHP] PHP and listbox multiple selections

2002-01-31 Thread sundogcurt
Notice the "[ ]" at the end of the select box name, this prompts php to treat the values as an array. $myrow[1]"; } } ?> When the form is submitted I fire this code $mycount = count($options); // get the number of elements in the array (selected in the drop down) while($myc

Re: [PHP] PHP and listbox multiple selections

2002-01-31 Thread Erik Price
On Monday, January 28, 2002, at 10:41 AM, Simos Varelakis wrote: > A php form contains a listbox (named foolist) with n Items which can > be > multiple selected and form posted to > results.php how can results.php determine which items were selected in > order > to add all the items in a My

Re: [PHP] PHP and listbox multiple selections

2002-01-31 Thread val petruchek
> Hello to everyone > > Problem : > > A php form contains a listbox (named foolist) with n Items which can be > multiple selected and form posted to > results.php how can results.php determine which items were selected in order > to add all the items in a Mysql table ??? > > thanks in advance f

[PHP] PHP and listbox multiple selections

2002-01-31 Thread Simos Varelakis
Hello to everyone Problem : A php form contains a listbox (named foolist) with n Items which can be multiple selected and form posted to results.php how can results.php determine which items were selected in order to add all the items in a Mysql table ??? thanks in advance for any suggestion