dcsimg
October 20, 2018
Hot Topics:

Video: Passing Data Between PHP and JavaScript Using JSON

  • February 6, 2010
  • By Jason Gilmore
  • Send Email »
  • More Articles »

Got seven minutes to learn how you can harness the power of PHP, JavaScript and JSON in a powerful AJAX-driven web application? This Internet.com Video tutorial shows you all you need to know to pass data between the client and server using JSON data format.

After a brief introduction to JSON (JavaScript Object Notation), noted author and PHP Guru Jason Gilmore demonstrates how to implement an end-to-end web solution that involves the following steps:

  1. A user initiates a request for book-related data from a jQuery-enhanced web page.
  2. PHP responds to this request by converting an array to JSON format and sending the response to the Ajax-enabled web page.
  3. jQuery decodes the JSON-formatted data and updates the web page.

View the entire seven-minute video tutorial at Internet.com/Video:
Passing Data Between PHP and JavaScript Using JSON






Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

Thanks for your registration, follow us on our social networks to keep up-to-date