Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

[PHP-DB] build drop-down pick from MYSQL table From: Quentin Krengel (quentin <email protected>)
Date: 04/12/01

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