sending data from javascript array to php and back

DragonLord66

New Member
i'm trying to work on a design website where users can design something on html5 canvas and than save it on the server. All information is stored on mysql database and the designs are stored in a javascript array. I want to be able to pass copy the entire array from javascript into php, save it in the database and than retrieve it back into javascript.I've searched the web for this but couldnt find a working solution. Using post/get didnt work. If i print the array using javascript i get something like [object OBJECT, object OBJECT].Is there anyway to pass arrays between javascript and php?Thanks
 
Back
Top