```
$service = CityService::getInstance();
$cities = $service->getAllCities(); 
foreach($cities as $city){
    echo"<option value='".$city->CityID."'>".ucfirst($city->CityName)."</option>";
}   

```

here in this code I am getting list from cities , I want to make the selected values sticky in the drop down, where should I apply "selected" ???