On 9/20/06, Will <[EMAIL PROTECTED]> wrote: > > I've moved on to MochiKit 1.4 for select multiple support, and I notice > the following: > > Parsing a form with a select with multiple using queryString creates a > string with properties that will replace themselves. > > For example, a select named "myselect" with options "option1" and > "option2" selected will look like: > > myselect=option1&myselect=option2 > > on the server side only the last option will be available in $_REQUEST. > > Sorry to sort of be bugging the group today, but is this right? Is > there a better way to prepare my url requests when using selects with > multiple?
This is the standard way to do it. Try doing it with a regular form without any JavaScript. If PHP doesn't have a to deal with the standard way to do HTML forms, then PHP is broken. My guess would be that there is a way through some other API. Worst case you could parse out the query string yourself. -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
