<?php/* 创建自己的mysql_class类 */ class mysql{ private $host;//为了数据库安全,设置私有属性 private $name; private $pass; private $bbs; private $gb; function __construct($host,$name,$pass,$bbs,$gb){$this->host=$host;$this->name=$name;$this->pass=$pass;$this->bbs=$bbs;$this->gb=$gb;$this->connect...