when submitting a form via POST, one common way to send arrays is to give names as follows:
<input name="foo[]" value="" /> <input name="foo[]" value="" /> <input name="foo[]" value="" /> However, when sending this via method GET, the browser urlencodes the [], which results in a url like ?foo%5B%5D=bar instead of ?foo[]=bar.
Can this be prevented?
implode('|', $foo)and it will output?foo=val1|val2|val3