26 Aug
2004
26 Aug
'04
11:35
----- Original Message -----
From: "Matt Williams"
Hi Adrian
When using multiple select boxes you have to append the name of the select element with [] so PHP know to expect/convert it to an array.
so you example would need to be <select name="dcdrom[]" size="3" multiple id="dcdrom">
$_POST['dcdrom'] will now be an array
Thanks Matt :-) Having looked over some examples again, I see that now but missed it before! (But you'd be amazed how many typo's there are out there. I don't understand why people don't copy and paste). It now returns "array" :-) Many Many thanks :-)