dongxi1320 2016-09-08 23:13
浏览 55

如何在select控件PHP中添加input type = text字段?

I want to add input filed inside my select control to let user to insert search text if he doesn't choose any option does anyone has any idea, this is my code?

    <select name="select" id="selectId">
<?php 

foreach($locations as $location){
echo "<option value=''.$location['location_id']."'>".$location['name']."</option>";
}
?>
</select>
  • 写回答

0条回答 默认 最新

    报告相同问题?