|
-
Javascript array from php array
I've been using the following code to create a one dimensional javascript array from a php array, and it has been working great...
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks