mysql扩展库mysqli与OOP面向对象

/ 链接数据库
$_mysqli = new mysqli();
$_mysqli->connect(‘localhost‘,‘root‘,‘password‘,‘cms‘);
if (mysqli_connect_errno())
{
  echo ‘error:‘.mysqli_connect_errno();
  exit();
}
// 初始化
$_mysqli->set_charset("utf8");

mysql扩展库mysqli与OOP面向对象

上一篇:(图形界面)Dbever连接MySQL8 报错mysql8 安装The server time zone value '?й???????' is unrecognized or represents more than one time zone.


下一篇:oracle pl/sql(一)