![]() |
|
|
+ Search |
![]()
|
Feb 14th, 2003 06:37
C. Collins, Todd Scarl, Julian Laster,
The FORM SELECT:
<select name="var[]"> // the [] sets val as an array
<option name="1">one</option>
<option name="2">two</option>
</select>
The PHP:
foreach ($var as $value)
{
//perform action
}
This simply loops through $var (your selections) allowing you to do
what you like with them.