Page 1 of 1

Must be an easy way to add tags to vast lists

Posted: Sun Mar 13, 2011 8:53 am
by Phpn00b5
I want to add say like 100 options to a drop down list.

But I cannot for the life of me find a way. It will take a long time to type <option> </option> etc for each record.

Anyone know of a good way to do it (program/online etc) I tried to google but I had no luck.


Thanks in advance

Re: Must be an easy way to add tags to vast lists

Posted: Sun Mar 20, 2011 11:41 am
by social_experiment
A database? (Took me two seconds to think of it :) )

Re: Must be an easy way to add tags to vast lists

Posted: Sun Mar 20, 2011 2:21 pm
by Weirdan
assuming you have it one item on a line, regexp replacing start of line with '<option>' and end of line with '</option>' would do the job.