if you turn the generated text into a string you could use:
str_replace("'{$_GET['day']}'>", "'{$_GET['day']}' selected>", $string);
this assumes you generate a string using something like:
$result = mysql_query(query);
$text = '';
while( $row = mysql_fetch_array( $result) ){
$text .= "<option value='{$row['fieldname']}'>{$row['fieldname']}</option>\n";
}
str_replace("'{$_GET['day']}'>", "'{$_GET['day']}' selected>", $text);
echo '<select>\n$text</select>';
and 'the_Igel', your method will not work with register globals off, and most servers have this option set, and it's a lot more secure anyway.