sarcus25
Programmer
- Apr 14, 2005
- 27
Hi i have a list box named "los". What I want to do is display each value in the list box that was selected. In the query string I can see the values for each item selected in the list box but if I get a count like so: "count($_GET['los'])" it displays a value of "1" even through I have just selected and submitted more than one item to that script. It always just displays that last Item that I selected in that list box. Below is a sample of the code that I am using to try to break up and display the list box array.
foreach($_GET['los'] as $key => $value){
echo $key,": ", $value,"<br>";
}
Thanks in advance
foreach($_GET['los'] as $key => $value){
echo $key,": ", $value,"<br>";
}
Thanks in advance