Re: [PHP] Dropdown menu

2004-05-11 Thread William Stokes
Thanks! I found the answer from: http://codewalkers.com/tutorials.php?show=12 "Daniel Clark" <[EMAIL PROTECTED]> kirjoitti viestissä news:[EMAIL PROTECTED] > Hi Bill. > > Put something like: > > > ##your form selections here## > > > > Then on your read_form.php page: > > $what_they_selected = $_

Re: [PHP] Dropdown menu

2004-05-11 Thread Daniel Clark
Hi Bill. Put something like: ##your form selections here## Then on your read_form.php page: $what_they_selected = $_POST['name1'] >>A question about forms and PHP. I have a dropdown list which gets the lines >>in the list from DB. Like this(col1 is used only for sorting the data): >> >>ech

[PHP] Dropdown menu

2004-05-11 Thread William Stokes
Hello, A question about forms and PHP. I have a dropdown list which gets the lines in the list from DB. Like this(col1 is used only for sorting the data): echo "choose one:"; $sql="SELECT col1, col2 FROM table_04 ORDER BY col1"; $result=mysql_query($sql); $num = mysql_num_rows($result); $counter