RE: [PHP-DB] listbox not adding data to mySql?
| From: | Snijders, Mark | Date: | Thu, 13 Mar 2003 09:29:22 +0000 |
| Subject: | RE: [PHP-DB] listbox not adding data to mySql? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26336@lists.php.net to get a copy of this message | ||
put in top of your document :
phpinfo();
and see under 'variables' what is in them!!!!
-----Original Message-----
From: Rich Gray [mailto:rich@f1central.net]
Sent: donderdag 13 maart 2003 10:22
To: Billy; PHP-DB
Subject: RE: [PHP-DB] listbox not adding data to mySql?
> 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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php