How to store data from a javascript code using PHP,SimpleXML? -
i have javascript able draw on html5 canvas. possible store coordinates of drawings(say coordinates of line drawn on canvas) in server? can retrieve them when ever want? have searched , came across php, simplexml. possible store data using php , simplexml?? if how retrieve them. please post links me.
or there anyother way other simplexml?
you can (and save, , retrieve) example through ajax query server.
example, can use jquery library: http://api.jquery.com/jquery.ajax/ :
can see other helpful methods, use above one. example:
jquery.getjson() - retrieve
jquery.post() - save
Comments
Post a Comment