Here's the page displaying the pulldown:
http://pnanetwork.com/PNA_category.php
When the submit butt is pressed, it doesn't seem to go to the query page in the "Action" tag to show results.
Here's the code:
$query = ("SELECT DISTINCT custfield2 from smpro_list order by custfield2");
//$query = ("SELECT * from smpro_list order by custfield2");
$result = mysql_query($query) or die('Could not connect: ' . mysql_error());
if (mysql_num_rows($result) == 0)
{
} else
{
//echo "<B> Current Chapters List </B>";
echo "<select name='Category'>";
echo "<option>" . "Select" . "</option>";
while($row = mysql_fetch_array($result))
{
$category_name = $row['custfield2'];
echo "<form action='PNA_member-by-Category.php'>";
echo "<option>" . "$category_name" . "</option>";
}
}
echo "<BP><BR><p align='center'>" .
"<input name='Search' type='submit' id='Search' value='Submit'>" .
"</p> </form>";
?>