How to show database data in table by using jqery ajax json php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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.

27th Dec 2018, 9:06 AM
Satish Kumar Sharma
Satish Kumar Sharma - avatar
1 Answer
+ 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.
27th Dec 2018, 10:16 AM
Taste
Taste - avatar