[PHP-DB] inserting dynamic drop down menu data into mysql

2004-01-07 Thread Duane Barnes
I'm having a problem with a standard html form. I'm using a php function to populate a drop down menu on a standard form. I want the contents of the submitted form to insert into a mysql table. All of the variables are inserted correctly except for the data from the drop down menu. For some

RE: [PHP-DB] inserting dynamic drop down menu data into mysql

2004-01-07 Thread Ford, Mike [LSS]
On 07 January 2004 15:12, Duane Barnes contributed these pearls of wisdom: I'm having a problem with a standard html form. I'm using a php function to populate a drop down menu on a standard form. I want the contents of the submitted form to insert into a mysql table. All of the variables

Re: [PHP-DB] inserting dynamic drop down menu data into mysql

2004-01-07 Thread CPT John W. Holmes
From: Duane Barnes [EMAIL PROTECTED] $output .= option value=$category$category/option; Put quotes around your values... If you have option value=This and ThatThis and That/option how do you expect HTML to know you mean This and That as you're entire value? It's not. It's going to take This