jQuery provide below methods to implement get or post http request in ajax web application..ajax( settings ): This is the base method that all other get, post method will invoked. The settings is a JSON object, it's content is name:value pair such as
Php write json JSON PHP - W3School . Convert the request into an object, using the PHP function json_decode (). Access the database, and fill an array with the requested data. Add the array to an object, and return the object as JSON using the json_encode
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML.
Post a Comment:
Showing 0 Comments: