var js_array = new Array();
js_array = [' . ($php_array ? '"' . implode('", "', $php_array) . '"' : '') . '], i;
how can I append the above code to work for a multidimensional array.
Thanks for any suggestions