Dynamically populating a dropdown box
| From: | Chris Payne | Date: | Fri, 14 Dec 2001 01:45:38 +0000 |
| Subject: | Dynamically populating a dropdown box | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15013@lists.php.net to get a copy of this message | ||
Hi there everyone,
I have a shopping cart which is starting to work nicely, but I have to select size/color from the
entries, how do I do this dynamically in PHP with MySQL? I need them to be dropdown form boxes but
haven't got a clue how to populate them from the fields of my database.
Please help me with example code if possible, it would be greatly appreciated :-)
Thank you everyone
Regards
Chris