How do I send data from MySQL server to my html page ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I send data from MySQL server to my html page ?

I have HTML page which consist of table and I want to send data from server to table in my page.

6th May 2017, 5:05 AM
Ninad
Ninad - avatar
3 Answers
+ 2
By using Php. Firstly Html should submit request for data from Php, Php then read Mysql data and echo back to client.
6th May 2017, 5:27 AM
Calviղ
Calviղ - avatar
+ 1
Remember server cannot send data to client automatically, clients must always send request before server can response it.
6th May 2017, 5:43 AM
Calviղ
Calviղ - avatar
+ 1
use a PHP script to read read data from database and display it on your page
6th May 2017, 6:45 AM
Jackson Alappatt
Jackson Alappatt - avatar