# Populating a select form with PHP

**URL:** <https://forum.kirupa.com/t/populating-a-select-form-with-php/55908>\
**Category:** programming\
**Created:** [June 29, 2004, 12:05am UTC](https://forum.kirupa.com/t/populating-a-select-form-with-php/55908 "2004-06-29T00:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgallen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mgallen/32/616_2.png) [@mgallen](https://forum.kirupa.com/u/mgallen)\
**Post date:** [June 29, 2004, 12:05am UTC](https://forum.kirupa.com/t/populating-a-select-form-with-php/55908/1 "2004-06-29T00:05:18Z")

</div>

Hi everyone, I have a Mysql databse and some of the fields inside have multiple values , for example the color field has: blue, red, green. I want to store the values inside a select form using PHP.

If anyone can point me to some tutorials or examples of how to do this it will be realy great.

mgallen
