# PHP MySQL Select Dropdown - Help Needed

**URL:** <https://forum.kirupa.com/t/php-mysql-select-dropdown-help-needed/324144>\
**Category:** programming\
**Created:** [August 4, 2011, 3:50pm UTC](https://forum.kirupa.com/t/php-mysql-select-dropdown-help-needed/324144 "2011-08-04T15:50:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phpmysql5](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@phpmysql5](https://forum.kirupa.com/u/phpmysql5)\
**Post date:** [August 4, 2011, 3:50pm UTC](https://forum.kirupa.com/t/php-mysql-select-dropdown-help-needed/324144/1 "2011-08-04T15:50:51Z")

</div>

Hi everyone,

to the php/mysql experts, I’m looking to create a dropdown menu where it is called from a database. I’m making a pizza selection site. the customer gets a second pizza free when the first one is chosen.

I have tried to use a mysql while loop, but its doesn’t seem to display anything from the database, or if it does, only the first row is displayed.

if you can help me, I’ll explain in detail.

Thanks.
