Make Money Online HTML PHP JAVASCRIPT How to Get JSON Response from MySQL Database using PHP

How to Get JSON Response from MySQL Database using PHP

How to Get JSON Response from MySQL Database using PHP post thumbnail image



In This video I have shown that How to get JSON Response from mysql database using PHP. In php a one function is there to convert data into JSON Format
json_encode()
using json_encode() method we can convert php array into json array

GitHut Link :

First of all you have to make a Database connnection using php then try to fetxh each row and then store into a array and then convert that array into json object and then using print or echo method give response message

-~-~~-~~~-~~-~-
Please watch: “MySQL Database connection in java 12 using eclipse 2019”

-~-~~-~~~-~~-~-

Related Post