# Drop down menu (MySQL)

**URL:** <https://forum.kirupa.com/t/drop-down-menu-mysql/302730>\
**Category:** programming\
**Created:** [January 6, 2010, 4:38pm UTC](https://forum.kirupa.com/t/drop-down-menu-mysql/302730 "2010-01-06T16:38:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wispas](https://avatars.discourse-cdn.com/v4/letter/w/9de0a6/32.png) [@wispas](https://forum.kirupa.com/u/wispas)\
**Post date:** [January 6, 2010, 4:38pm UTC](https://forum.kirupa.com/t/drop-down-menu-mysql/302730/1 "2010-01-06T16:38:18Z")

</div>

I have three fields in my database: hotel\_id hotel\_name and hotel\_desc.

i want to have a drop down menu that lists all of the hotel\_name and when a user selects one of the hotels from the lists there will be a empty div that will display the hotel name and its description.

does anyone know how to achieve this?  
Thanks!"
