Take the name attribute of an option element and put it into a php variable
===

So I have an HTML dropdown that is created in php. 

    echo '<select id="myselect" name="myselect">';
		echo '	<option value="make_selection" id="make_selection">Choose Your Category</option>';
		
		while($row = mysql_fetch_array($query)) {
			echo '<option value="'.$row['categories'].'" id="'.$row['categories'].'">'.$row['categories'].'</option>';
		}
		
		echo '</select>';


What I want to do is take the selected option and turn it into a variable so I can pass it to another php page.  