how to create a drop down list in while loop

Codes here !

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: how to create a drop down list in while loop

Post by johnj » Tue Jul 09, 2013 7:40 pm

Get the result rows from the table and use <select name="something"><option></option></select>.
if you have more than one item in the drop down, you need to loop and create that many options.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest