RE: [PHP-DB] listbox not adding data to mySql?
| From: | Rich Gray | Date: | Thu, 13 Mar 2003 09:22:06 +0000 |
| Subject: | RE: [PHP-DB] listbox not adding data to mySql? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26335@lists.php.net to get a copy of this message | ||
> Im having a problem getting listbox data to go into a mySql database.
>
> This may be a simple problem but Ive been searching with out any
> result, and
> thought I would ask on here.
>
> Here goes...
>
> <select name="server">
> <option value="No">No</option>
> <option value="Yes">Yes</option>
> </select>
>
> the name of the field in the database is server, all of the other inputs
> that I have within the page work and enter data but when I try using
> listbox's it doesnt seem to work.
>
> Cheers if any one can help me with this
>
> Rujlon
Can you post the code that handles the form data and updates the database?
Without that it'll be difficult to see what's the problem.
Rich