Hello everybody,
I've noticed a change in behavior when posting a form containing 'multiple' lists between php 4.1 and 4.2.
Say I have a search form offering a bunch of options. When the form is submitted, the page is reloaded. The form reappears to the user with all option he's selected. The result of the search appears below. Say one of the search parameters is an html list like the following:
<select name=somelist[] multiple>
<option value=a>a
<option value=b>b
<option value=c>c
</select>
Upon reloading the page after the post in php 4.2, the list will contain 6 options: a,b,c,a,b,c.
Php 4.1 does not do that.
Has anybody heard of that before?
I don't know if this is an important factor, but I am currently working with register_globals set to 1.
Thanks for any tips!