I have a javascript script which obtains a lot of data
about 20 variables, 2 arrays with hundreds of or even more than 1000 elements.
I want to pass these values to a php server and let php server write them to files(not sql database) on the server
I know I need to use ajax, or json but I'm new to javascript and time is a bit urgent, I hope I can finish this task asap
are there any good articles, examples on this?
thanks!
The example at http://php.net/manual/en/book.json.php should help you. It's only sending one name/value pair - comment. You can define a lot more of them. (It uses jQuery to make the AJAX part trivial.)
Bookmarks