{ $selected = $opts->language == $lang_code ? "selected" : "") . ">Any</option>"; foreach ($languages as $lang_code => $language) { $name = $language["name"]; $selected = $opts->language == $lang_code ? "selected" : ""; ?>