Does anyone know of a way to execute an if (isset()) function from a selection in a drpodown menu?
I have a dropdown menu that diaplays items from a database:
I would like to be able to show a second dropdown from the selection of one item from this dropdown (swcontti).
//Create dropdown criteria for relationship sub-category
$values = array ( );
$labels = array ( );
$query = "SELECT swcontti_id, descr FROM swcontti ORDER BY descr";
$result = $conn->issue_query ($query);
while (list ($swcontti_id, $descr) = mysql_fetch_row ($result))
$values = $swcontti_id;
$labels = $descr;
//Print SQL query results
print (make_popup_menu ("swcontti", $values, $labels, ""));
Can anyone help me please?