for each loop to display database info in a dropdown

Hello,
I have a dropdown that I need to populate from a table in a database. I understand how to query the database, but I need to use a for each loop to populate the drop down itself. Any recommendations?

You seem to be on the right track, you can use any loop (for, foreach, while)

Sponsor our Newsletter | Privacy Policy | Terms of Service