Re: [PHP] RE: newbie Dynamic Drop down lists using mysql

2003-04-03 Thread Sebastian
This is how i make my drop downs, see if this help... echo " show all"; $results = @mysql_query("SELECT * FROM table"); while($row = mysql_fetch_row($result)) { echo "$row[0]"; } echo ""; cheers, - Sebastian -Original Message-

RE: [PHP] RE: newbie Dynamic Drop down lists using mysql

2003-04-03 Thread Daevid Vincent
_free_result($qry); } else echo "Listbox cannot be built because of an invalid SQL query."; return $items; } // end ListboxMatch > -Original Message- > From: Bobby Rahman [mailto:[EMAIL PROTECTED]

[PHP] RE: newbie Dynamic Drop down lists using mysql

2003-04-03 Thread Bobby Rahman
Hiya Im looking for any tutorials/snippets of code to show me how to code a dynamic drop down box/list in a php form. e.g a drop down menu of all current users (I assume this will need to connect to mysql db and select all usernames from table user and place in the menu. here what I have so