1.

Solve : sendig an array over ajax?

Answer»

hello i have quite a large array of data that i would LIKE to send to my database. i currently use javascript or client SIDE and php for SERVER side. how would i send an array using an ajax request and also how would i make use of that array on php.Use JSON to bundle up your array.

http://webhole.net/2009/11/28/how-to-read-json-with-javascript/
http://uk3.php.net/manual/en/book.json.phpim kinda new to php but unfortunately it does not make much sense to me :/ could you give me a code example? as i learn a BETTER from seeing how existing code is done ^.^


also what is jquery?There are code examples on those pages I linked to!

jQuery is an excellent javascript library that makes working with javascript much much easier.



Discussion

No Comment Found