
April 28th, 2000, 02:44 PM
|
|
Contributing User
|
|
Join Date: Apr 1999
Posts: 114
Time spent in forums: 42 m 44 sec
Reputation Power: 15
|
|
|
Hi Chris,
Name the select element "Categories[]" instead of "Categories"
Then in your PHP script, you will have a variable called $Categories that will be an array containing all of the selected items:
while (list ($iKey, $sVal) = each ($Categories)) {
if ($sVal == "id2") {
...
}
}
-- Christopher
[This message has been edited by scollo (edited April 28, 2000).]
|