im trying to create a select to allow users to select from multiple options. The problem is for some reason i cannpt get it to work right with php. when i put <select> in php tags it doesnt redirect the page but when i remove the <select> tags from the php it does work. Please help
i commented out the php tags that i was using but wasnt working
WORKING CODE
i commented out the php tags that i was using but wasnt working
WORKING CODE
Code:
<select name="SeasonSelect" onchange="MM_jumpMenu('parent',this,0)">
<?PHP
//echo '<select name="SeasonSelect" onchange="MM_jumpMenu(''parent'',this,0)">';
while($season_row = mysql_fetch_array($sql2))
{
$SeasonID = $season_row['id'];
$Season = $season_row['season'];
echo '<option value="Edit_Season.php?SeasonID='.$SeasonID.'">'.$Season.'</option>';
}
//echo '</select>';
?>
</select>