Ich habe ein Listenfeld und habe 2 Fragen.Php Mysqli Listbox
1. Wie kann ich immer noch den Text zu sagen, ein Land wählen? 2. auf meinem Update-Seite zeigt es die richtige Land aber wird es ändern, um nicht erlauben es
<?php
$sql = "SELECT countries.country_id, countries.country_name, users.user_country FROM countries, users
WHERE users.user_country = countries.country_id";
$result = query($sql);
?>
<select class="form-control input-lg box" id="country" name="country">
<?php
$i = 0;
while (($row = mysqli_fetch_assoc($result)) != false) {
?>
<option value="<?=$row["country_id"];?>"><?=$row["country_name"];?></option>
<?php
$i ++;
}
?>
(1) fügen Sie eine '' nach Ihrem '