[PHP-DB] Creating drop down lists

2007-03-10 Thread Scott
Hi everyone! I would like to create a drop down list with the info in my database. I would also like to have more options so it will filter down to many rows of data displayed then filtered down to a few rows of data that said user is looking for. Kind of like select a state then in the next bo

RE: [PHP-DB] Creating drop down lists

2007-03-10 Thread Bastien Koert
close $query = mysql_query("SELECT root FROM training"); echo ""; if($mysql_num_rows($result)>0){ while ($r = mysql_fetch_array($query)) { $user = $r["username"]; echo "$user"; } } echo ""; should load the data in the select. To link select boxes, first you need to decide on a method: 1. ajax

[PHP-DB] Re: Creating drop down lists

2007-03-10 Thread Manuel Lemos
Hello, on 03/10/2007 08:33 AM Scott said the following: > Hi everyone! > > I would like to create a drop down list with the info in my database. > > I would also like to have more options so it will filter down to many > rows of data displayed then filtered down to a few rows of data that > said