Use PHP to interconnect with the database to realize PHP query of database content.
$conn = mysql_connect("localhost", "root");
$conn = mysql_connect("localhost", "root", "", "yourdb");
Baidu has a lot of such simple things
$conn = mysql_connect("localhost", "root");
$conn = mysql_connect("localhost", "root", "", "yourdb");
Baidu has a lot of such simple things