Get the Code Here :

Support me on Patreon :


In my web services tutorial I will cover generating JSON and XML. We’ll then walk through examples in which we use REST, SOAP and RPC (Remote Procedure Calls). We’ll pull data from databases and if you haven’t seen them I have videos on PHP, MySQL and using PHP with MySQL.

Here I’ll focus on how JSON is structured and demonstrate how to pull data from MySQL and then generate and decode JSON using PHP.