Multiple arrays in html
Hello I want to return a multiple array in HTML but when I use quotion
marks in html it adds slashes to it.
So this is what I do in HTML:
<input type="hidden" name="auto_image['name'][]" class="auto_image"
id="auto_image" />
Output array:
Array ( [\'name\'] => Array ( [0] => example.jpg [1] => example2.jpg ) )
I need it to return this:
Array ( ['name'] => Array ( [0] => example.jpg [1] => example2.jpg ) )
No comments:
Post a Comment