Hello,
I used to program with ASP. PHP has many great features and advantages over PHP but I'm a little bit irritated with how it handles form collections.
In ASP, if I have 2 or more fields with the same name as so:
<input name="collection" value= "John">
<input name="collection" value= "Tommy">
<input name="collection" value= "Bob">
and I want to echo the value of "collection", I will get the value as "John, Tommy, Bob" (i.e. all values separated by a comma and a space).
In my form collections using PHP, all you get is "Bob" or the last value of the field "collection" to come across.
Is there some way to configure the settings on PHP so that I get the ASP-style form collection? Please let me know or I have a bunch of re-programming to do.
I'm surprised something this obvious is not a default in PHP.
Sam Fullman
Compass Point Media