I read some data out from my database and want to list the result in a dropdown list in order to shorten the keying for the user
echo '<input list "orte" name="ort" id="ort">';
echo '<datalist id="orte">';
$klt = mysql_query_log("select distinct Ort from kulturevent where Mandant = ?Mandant order by Ort", array('Mandant'=>$usrrow['Mandant']));
while ($kulrow = mysqli_fetch_array($klt)) {
echo '<option value="'.$kulrow['Ort'].'">';
}
echo '</datalist>';
Neither using the down arrow nor a single key addressing one of the found towns show a valid result
I think you forget an equal sign in your input list. It should be:
echo '<input list="orte" name="ort" id="ort">';