Como puedo pasar el siguiente array asociativo php:
Array
(
[0] => Array
(
[param1] => valor1
[param2] => valor2
[param3] => valor3
[param4] =>valor4
[param5] => valor5
[param6] => valor6
)
[1] => Array
(
[param1] => valor1
[param2] => valor2
[param3] => valor3
[param4] =>valor4
[param5] => valor5
[param6] => valor6
)
[2] => Array
(
[param1] => valor1
[param2] => valor2
[param3] => valor3
[param4] =>valor4
[param5] => valor5
[param6] => valor6
)
)
Al siguiente array javascript:
array =
{ "valores" : [ { "param1" : "valor1", "param2" : "valor2", "param3" : "valor3", "param4" : "valor4", "param5" : "valor5", "param6" : "valor6" } , {"param1" : "valor1", "param2" : "valor2", "param3" : "valor3", "param4" : "valor4", "param5" : "valor5", "param6" : "valor6" } , { "param1" : "valor1", "param2" : "valor2", "param3" : "valor3", "param4" : "valor4", "param5" : "valor5", "param6" : "valor6"} ] }