Re: [PHP] Using SELECT and MULTIPLE in a form

2003-02-01 Thread Tom Rogers
Hi, Sunday, February 2, 2003, 1:29:30 PM, you wrote: JK> I am displaying a form using values obtained from a database query. JK> One of the elements contains about 20 different values. I want the JK> use to be able to select multiple values before pressing submit. JK> This seems to work, but when

Re: [PHP] Using SELECT and MULTIPLE in a form

2003-02-01 Thread John Nichel
Put empty square brackets (NAME='in_task_descr[]') after the name of your select element. Then all the slections will be in an array called... $_POST['in_task_descr'] or $_GET['in_task_descr'] Depending on your form method. James Kaufman wrote: I am displaying a form using values obtained from

[PHP] Using SELECT and MULTIPLE in a form

2003-02-01 Thread James Kaufman
I am displaying a form using values obtained from a database query. One of the elements contains about 20 different values. I want the use to be able to select multiple values before pressing submit. This seems to work, but when my php script is called, all I see is the last data value assigned to