php-db | 2001041

Re: [PHP-DB] build drop-down pick from MYSQL table From: Paul Burney (burney <email protected>)
Date: 04/12/01

on 4/12/01 8:40 AM, Quentin Krengel (quentin <email protected>) wrote:

> 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.

You might want to try a little script I wrote called s2s. You can
view/download it here:

<http://webdevel.burney.ws/code/id?14>

It may work for you "out of the box" but if not, it shouldn't be hard to
modify for your use.

> Thanks in advance for the help, and if you reply, please tell me where your
> favorite php<->mysql tutorial is.

I like devshed.com tutorials. The format they use is very nice and easy to
follow.

Hope it helps,

Paul Burney

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster and Open Source Developer
Educational Technology Unit
Graduate School of Education and Information Studies
University of California, Los Angeles
(310) 825-8365
<webmaster <email protected>>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>