Hi all,
I have trouble with the following drop-down box which contains spaces.
All text gets dropped after the first space.
I would appreciate some advice please
$BankNameLU = mysqli_query($mysqli, "SELECT * FROM LookupList WHERE BankName <> ''");
while($Row = mysqli_fetch_array($BankNameLU)) {
$BankNameOptions = $BankNameOptions."<option>$Row[5]</option>";
}
And then in the html part
<select name="BankName" <?php echo $BankName;?>>
<option value=<?php echo $BankName;?> >
<selected="selected"> <?php echo $BankName;?>
</option>
<?php echo $BankNameOptions;?>
</select>