Put
Borneo Sabah
inside quotes:
<select name=username>
<option value="Borneo Sabah">Borneo Sabah</option>
</select>
Quotes around an attribute value are not required in HTML, but they are necessary in some cases such as when you have to put a space inside your attribute value.
Unquoted attribute values must also not contain any of these characters:
", ', =, >, <, or `. Sure, you can have %, or # or £, but no backticks please!
If you want to do set the attribute value from PHP, you have to
escape the quote[
^] (using
\"
):
echo"<option value=\"".$rows[0]."\">".$rows[0]."</option>";