0
How to show database data in table by using jqery ajax json php
I want to show MySQL database data in table by using jquery ajax and json how can I do this.
1 Odpowiedź
+ 1
Create php file to fetch the data from database.
Create then a json from those data.
Change response type to application/json.
Put the json as response.
In client side.
Do an ajax call to that php file.
Parse the response as json.