JSON or Javascript Object Notation is a data format that is language-independent which makes it easy to pass data without having to worry about syntax conversion.
In this tutorial, we fetch data from a MySQL server using a SELECT query and pass that data in JSON format from the server (using PHP) to the front-end. Then we parse it (turn it into a Javascript object) and loop or iterate through it with the help of jQuery.
Hope you learn something. Click on the play button to proceed.
No comments:
Post a Comment