[PHP] How do I populate a select?

2002-12-10 Thread Steve Jackson
How do I populate a select list with a list of category names from a DB? I can select the names using a query but how do I loop through them to display them in a select? My query below will return the cat names. (when I do something with it like echoing the result) $mysql = mysql_query(SELECT

Re: [PHP] How do I populate a select?

2002-12-10 Thread Tim Ward
- I use an abstraction layer these days Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 3:24 PM Subject: [PHP] How do I populate a select? How do I