Re: build drop-down pick from MYSQL table

From: Date: Thu, 12 Apr 2001 16:01:45 +0000
Subject: Re: build drop-down pick from MYSQL table
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8520@lists.php.net to get a copy of this message
on 4/12/01 8:40 AM, Quentin Krengel (quentin@krengeltech.com) 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@gseis.ucla.edu> <http://www.gseis.ucla.edu/> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

« previous php.db (#8520) next »