连接数据库:(用php)
$host = "127.0.0.1";
$user = “root”;
$password="password";
$database = "users";
$conn =mysqli_connect($host,$user,$password,$database);
标签:php blog pass 连接数 log class mysql基础 mysql use
连接数据库:(用php)
$host = "127.0.0.1";
$user = “root”;
$password="password";
$database = "users";
$conn =mysqli_connect($host,$user,$password,$database);
标签:php blog pass 连接数 log class mysql基础 mysql use
原文地址:https://www.cnblogs.com/chaoyong/p/7083392.html