[PHP-WIN] Re: drop down menu to a table

2009-03-06 Thread user
sam rumaizan wrote: How do I insert data from a drop down menu values (select box) to a table If you start a new thread, you are more likely to get a response that helps you. To answer your questions is use javascript. This is a php group. Go to the right group. Ian -- PHP Windows M

[PHP-WIN] Re: drop down menu

2001-07-06 Thread Jeremy Bettis
Here is an example using Pear::DB syntax: getAll("select keyfield, descfield from table", DB_FETCHMODE_ASSOC); echo "\n"; foreach ($data as $row) { echo "", $row["descfield"], "\n"; } echo "\n"; ?> -- Jeremy Bettis [EMAIL PROTECTED] "Pete Kuczynski" <[EMAIL PROTECTED]> w