UI Deploy

Curated, Short, Web UI Dev we Love.

Create JSON From MySQL Using PHP and Parse it with jQuery

JSON(Java Script object notion), I think every web dev already know about JSON and the advantages of using it. Some common questions that every new developer asks are: why to use JSON? Where to use JSON?  How to use JSON in web applications? I came across a very good article on JSON vs XML. After reading this article you will have some strong points in your bucket to answer the question “Why to use JSON”. I am preparing this tutorial for beginners in JSON.  In this tutorial I will be demonstrating how you can create JSON string from MySQL using PHP and then parse it with jQuery to display it in client side (Browser).

view source

Advertisement