How do I toggle with a select box to display different pieces of information?
For example, here is my select box:
echo "<td colspan=\"5\"><b><font face=\"Arial, Verdana\" size=2> <select name=\"showSelection\">";
echo "<option value=\"All\" selected>Show All Job Codes</option>";
echo "<option value=\"Open\">Show Open Job Codes</option>";
echo "<option value=\"Closed\">Show Closed Job Codes</option>";
echo "</select></font></b></td>";
If I select 'Show Open Job Codes' from the drop down list, how do I then execute the mysql? (I know what the query is, I just don't know how to activiate the queries when a selection is made.)
Thanks
APG