Voting

: five minus zero?
(Example: nine)

The Note You're Voting On

eric dot muyser at gmail dot com
12 years ago
This function makes like this

files[0]=1&files[1]=2&...

To do it like this:

files[]=1&files[]=2&...

Do this:

$query = http_build_query($query);
$query = preg_replace('/%5B[0-9]+%5D/simU', '%5B%5D', $query);

<< Back to user notes page

To Top