I thought PHP was supposed to be thread-safe? The only circumstances under which there is believed to be issues is Apache2, but most people I've spoken to who use Apache 2 in their LAMP servers haven't reported any issues at all. On 26 Aug 2004 at 16:05, adrian.wells wrote:
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 :-)
As an aside, I was unable to edit the data via a subroutine, although I was able to show that the correct data was being passed/processed, it just trashed the data, wierd! but if I did the updates in-line no problem! Maybe it has something to do with threads within PHP Version 4.3.3 ? Anyway all fixed now and I'm grinning again :-) Three days messing about, all for a pair of square braces! Kind regards Adrian -- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com ----- Paul Graydon Network Technician Haywards Heath Sixth Form College http://www.hhc.ac.uk (01444) 456281 In the end, we will remember not the words of our enemies, but the silence of our friends. - Martin Luther King Jr. (1929 - 1968)