mootools/mootools-core — Issue #2217: Object.toQueryString
Author: ibolmo
Created: 2012-01-19 08:05:12+00:00
State: open

(from [Lighthouse](https://mootools.lighthouseapp.com/projects/2706/tickets/949-hashtoquerystring))

Object.toQueryString produces ugly php Syntax:

Object.toQueryString( { a : [1,2,3] } )

->

a[0]=1&a[1]=2&a[2]=3

For what reason? When i use the Element.toQueryString on multiple select options, it results in

a=1&a=2&a=3

why is there a difference? Bug or feature? I'd really prefer the Element.toQueryString on the hash, too :)

schnix