title: make the selected drop down value must be sticky
body: <pre><code>$service = CityService::getInstance();
  $cities = $service-&gt;getAllCities(); 
  foreach($cities as $city){
      echo"&lt;option value='".$city-&gt;CityID."'&gt;".ucfirst($city-&gt;CityName)."&lt;/option&gt;";
  }   
  </code></pre>
  
  <p>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" ???</p>