> Yes, I did that and it works correctly now. I was
> tryin g to better understand why the difference in the
> behaviour.
> 
> Stuart


The first array is created by selecting individual elements from a
muli-select list
(My multi-select is a little hazy, but I think it's something like...)

<select multiple>
<option>One</option> (Selected)
<option>Two</option>
<option>Three</option> (Selected)
<option>Four</option>
</select>

...would create a 2 element array. The second array is created by the
rendered objects. I'm guessing you created text fields like:

<input type="text" name="schools[]">
<input type="text" name="schools[]">
<input type="text" name="schools[]">

...That creates an array with 3 values, empty until the user types
something, upon POST (or GET) of the form.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to