O'Reilly logo

PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition by Frank M. Kromann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Frank M. Kromann 2016

Frank M. Kromann, PHP and MySQL Recipes, 10.1007/978-1-4842-0605-8_15

15. Data Exchange with JSON

Frank M. Kromann

(1)Trabuco Canyon, California, USA

Chapter 14 covered the use of XML to exchange date between a client and a server. When the client is created with JavaScript in a browser it’s much easier to exchange data with something called JSON. JSON is an acronym for JavaScript Object Notation. It is a sting-like notation that makes it easy to declare complex structures like arrays and object.

Recipe 15-1. Fetching Data with AJAX

Problem

Traditionally a browser is used to fetch HTML pages from a server. Navigation to a different page on the same or different server is done with links in the HTML document. When a user clicks ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required