I am very new with PHP and MySQL. I am busy developing a application, and would like to know how to add a drop down selection in a input field.
EG. Code -
Code: Select all
<td class="hr"><?php echo htmlspecialchars("Hotel")." " ?></td>
<td class="dr"><input type="text" name="Hotel" maxlength="1" value="<?php echo str_replace('"', '"', trim($row["Hotel"])) ?>"></td>Any Help will be greatly appreciated.
Newby PHP coder