RE: [PHP-DB] listbox not adding data to mySql?

2003-03-13 Thread Snijders, Mark
put in top of your document :

phpinfo();

and see under 'variables' what is in them



-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]
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=NoNo/option
   option value=YesYes/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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] listbox not adding data to mySql?

2003-03-12 Thread Billy
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=NoNo/option
  option value=YesYes/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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php