I'm struggling a little bit here... I have a list like this :
$list = "item1
item2
item3
item4";
And I have a web form where I want to create a <select><option> box for each of the items in the list.
Does anyone know how I would get the length of the list and then parse the items into the web form??
Would it be better to use a | as a delimiter, like :
$list = "item1|item2|item3|item4";
I'm really stuck with this problem, any help will be most appreciated.
Cheers
JT I don't make mistakes, I'm merely beta-testing life.
$list = "item1
item2
item3
item4";
And I have a web form where I want to create a <select><option> box for each of the items in the list.
Does anyone know how I would get the length of the list and then parse the items into the web form??
Would it be better to use a | as a delimiter, like :
$list = "item1|item2|item3|item4";
I'm really stuck with this problem, any help will be most appreciated.
Cheers
JT I don't make mistakes, I'm merely beta-testing life.