I need to put the following array values:
$myarray = array("a1" => "value 1", "a2" => "value 2", "a3" => "value 3", "a4" => "value 4");
into a drop-down like this:
<option value='a1'>value 1</option>
I assume it needs to be a loop but not sure how to split array values.