Question regarding arrays and list box using php
Posted: Thu Nov 05, 2009 10:48 pm
I dont know if this is possible or not . But, maybe someone can let me know because I really need to solve this dilemma.
I have a list box that I need to pas multiple values from but I dont mean multiple select with ctrl key. Here is a simple flow of what i want to do.
select f1, f2, f3, f4 from mysql table
select name = x
while rows
<option value=f1 f2 f3 and f4 >selection 1 </option>
...
...
<option value=f1 f2 f3 and f4 >selection 10 </option>
done
my problem is that using one list box, i want to pass the value of f1, f2, f3, and f4 to another script But i cant figure out how to do it.
I have a list box that I need to pas multiple values from but I dont mean multiple select with ctrl key. Here is a simple flow of what i want to do.
select f1, f2, f3, f4 from mysql table
select name = x
while rows
<option value=f1 f2 f3 and f4 >selection 1 </option>
...
...
<option value=f1 f2 f3 and f4 >selection 10 </option>
done
my problem is that using one list box, i want to pass the value of f1, f2, f3, and f4 to another script But i cant figure out how to do it.