[thelist] passing a non-form value into an array in php

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Wed Oct 30 04:07:01 CST 2002

> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]De la part de .jeff
> i still think you're asking for trouble because of the [] in
> the field name.
> maybe part of it is that i get squeamish when something tries
> to convert
> simple values into complex values for me when they couldn't
> possibly be
> anything but simple values from the browser.

Mmmmh. I see your concern jeff. Especially with Javascript's tendecy to
decide for itself what type a variable is.

Of course the same could be done with foo0, foo1 and then reparsing the
names through PHP when data comes back to the server.

More information about the thelist mailing list