Whenever i build a URL i.e.
cart.php?action=add&p[]=29&qty[]=3&p[]=5&qty[]=13
and try to grab the p variable and the qty variable, they = 'Array'
var_dump =
array(3) { ["action"]=> string(3) "add" ["p"]=> string(5) "Array" ["qty"]=> string(5) "Array" }
i create half the url with php, and the other half is concatenated with javascript. If more code is needed please let me know!