i've got link which shows how predefine possible answers easier search. curious, there possibility make a... form, loads data rows in specific column , set datalist?
example php function create datalist 4.
<?php function datalist($name, $values) { if((is_string($name)&&(strlen($name)>0)) && (is_array($values))) { echo "<datalist id=\"{$name}\">"; foreach ($values $value) { echo "<option value=\"{$value}\"/>"; } echo "</datalist>"; } else { echo "<p class=\"error\">error: failed create datalist.</p>"; } } ?>
Comments
Post a Comment