convert a php array to a json array with json_encode (there's a built in function in php) and then on your response on ajax request you can do a foreach to put each key content of the array anywhere you want on the page.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Friday, January 28, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment