我有存放摩托车的数据库。我在首页上创建了一个表格,其中还放置了摩托车的所有名称(下拉菜单),现在我想要的是,当我从表格中选择一辆摩托车时,我想在该网页的首页上显示该摩托车的规格,我将该规格在数据库中。因此,再次,当我从主页提交一辆摩托车时,我想显示该摩托车的规格,该规格在我的数据库中。
<div id="search">
<label for="motorname">Search motor</label>
<select id="motorname" name="motorname">
<option value="yamaxaxmas300">Yamaxa XMAS 300</option>
<option value="sprintapollo">Sprint Apollo</option>
<option value="sprintpulser200">Sprint Pulser 200</option>
<option value="sprintexplorer">Sprint Explorer</option>
<option value="sprinttrack">Sprint Track</option>
<option value="sprintknightprince">Sprint Knight Prince</option>
<option value="sprintgrizzy125">Sprint Grizzy 125</option>
<option value="Sprint Eagle">Sprint Eagle</option>
<option value="sprintcross">Sprint Cross</option>
<option value="pedagatto">PEDA Gatto</option>
<option value="symfiddle">SYM Fiddle</option>
<option value="motowellmagnetrse17">Motowell Magnet RS E17</option>
<option value="motowellcrogenrs2">Motowell Crogen RS2</option>
<option value="motowellcrogenrs3">Motowell Crogen RS3</option>
<option value="motowellcrogencity">Motowell Crogen City</option>
<option value="apriliasr">Aprilia SR</option>
</select>
<input type="submit" value="Search">
</form>
</div>