Miscellany
public text v1 · immutable$var = array('' , 'Mr.' , 'Mrs.', 'Ms.');
for ( $i = 0; $i < 4; $++ )
{
if ( $var[$i] == $row[firstname] )
{
$pre = " selected='selected";
}
$html .= "<option".$pre." value=\"".$var[$i]."\">".$var[$i]."</option>";
$pre = "";
}