In article <95erfd$neg$[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
("iGuru") wrote:

> I have a little problem. I have a listbox (multiline combo box) on my web
> page. When I sellect multiple items from the list box and submit the for to
> enter the values of the listbox items in the database, then only last
> selected item of the listbox is entered in the MySQL database.

Instead of name="var_name", you want name="var_name[]".  The square 
brackets define the variable as an array instead of a string.


PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to