i have created this drop down box
that lists different groups, how do i pass the value of the selected option to another page so i can display the results of a search ? i looked at other examples here and did not find one that covered this issue directly.
code:
$query = "SELECT DISTINCT bgroup from employees order by bgroup";
$result = mysql_query($query);
/*drop-down list*/
while(list($bgroup) = mysql_fetch_row($result)) {
print "<option value=http://www.phpbuilder.com/board/archive/index.php/\>$bgroup</option>\n";
that lists different groups, how do i pass the value of the selected option to another page so i can display the results of a search ? i looked at other examples here and did not find one that covered this issue directly.
code:
$query = "SELECT DISTINCT bgroup from employees order by bgroup";
$result = mysql_query($query);
/*drop-down list*/
while(list($bgroup) = mysql_fetch_row($result)) {
print "<option value=http://www.phpbuilder.com/board/archive/index.php/\>$bgroup</option>\n";