<select name="city" class="form-control getCityValue">
    <option value="">Select City</option>
    @if(!empty($getCityData))
    @foreach($getCityData as $key => $option)
    <option value="<?php echo $option; ?>"><?php echo $option; ?></option>
    @endforeach
    @endif
</select>