Connecting Tech Pros Worldwide Forums | Help | Site Map

PHP Dynamic Drop Down list in array

Newbie
 
Join Date: Jul 2008
Posts: 2
#1: Jul 21 '08
Dear Sir,
I have a field in database which stores multiple records, each record is separated by "," and when I populate a drop down list with these records , it displays all records in one line.

How can I display each record in 1 line, and the next record in second line and so on?

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Jul 21 '08

re: PHP Dynamic Drop Down list in array


Split the data on the comma into an array and display the array values instead.
Newbie
 
Join Date: Jul 2008
Posts: 2
#3: Jul 21 '08

re: PHP Dynamic Drop Down list in array


Thanks , it works perfectly.
Reply