Jump to content

Changing JS array to PHP array?


galvin

Recommended Posts

Look into the JSON functions.

 

You can use GET or POST (preferably POST) to send the array to PHP via AJAX if you want. If my mind remembers correctly, the array in javascript should have a .toString() function and that would be what you want to pass over GET/POST.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.