摘要: public function StrQuery($sql,$type=1) { $db = new MySQLi($this->host,$this->uid,$this->pwd,$this->dbname); $r = $db->query($sql); if($type=1) { $arr 阅读全文
posted @ 2017-05-23 15:24 繁华似水 阅读(538) 评论(0) 推荐(0)
摘要: <?php class Dadb { public $host = "localhost"; public $uid = "uid"; public $pwd = "pwd"; public $dbname = "test"; function query($sql,$type=1) { $db = 阅读全文
posted @ 2017-05-23 15:18 繁华似水 阅读(82) 评论(0) 推荐(0)