build drop-down pick from MYSQL table
| From: | Quentin Krengel | Date: | Thu, 12 Apr 2001 15:40:38 +0000 |
| Subject: | build drop-down pick from MYSQL table | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8518@lists.php.net to get a copy of this message | ||
I’m very new to PHP (coming from shell programming) and have a very easy
question… :-)
I have found examples of building a dropdown list, and have found examples
of reading a mysql table, but am looking for examples of creating a
drop-down list with the results of a mysql query. Ie, I have an admin
screen where partners are added, and want to store the partners in a mysql
table (maintained by an admin page). In my “add account page” I want to
build a dropdown list using the output from the “partners” mysql table.
Thanks in advance for the help, and if you reply, please tell me where your
favorite php<->mysql tutorial is.
Quentin