摘要:
面向对象的方式访问数据库 1.造对象 $db=new MySQLi("localhost","root","123","hr"); 2.判断连接是否出错 !mysqli_connect_error() or die("连接失败!"); 3.写SQL语句 $sql="inselt into info 阅读全文
posted @ 2016-06-13 21:22
By_The_Way
阅读(378)
评论(1)
推荐(0)
浙公网安备 33010602011771号