<?php
$options = array('volvo'=>'Volvo', 'saab' =>'Saab', 'audi' => 'Audi' );
echo "<select name='sss'>
";
foreach ($options as $k=>$v) echo "<option value='$v' >$k</option>
";
echo "</select>
";
?>
Question:
how to make 'audi' as the default value instead of 'volvo'? I know we can set 'selected' in html, but how could i do it in this php script?