摘要:
阅读全文
摘要:
PHP 输出json。 $result = mysql_query($sql); //查询结果 $users=array(); $i=0; while($row=mysql_fetch_array($result,MYSQL_ASSOC)){ $users[$i]=$row; $i+... 阅读全文
摘要:
db.class.php 主要方法host = $host; $this->username = $username; $this->password = $password; $this->db_name = $db_name; } /** ... 阅读全文
摘要:
host = $host; $this->username = $username; $this->password = $password; $this->dbname = $dbname; } public function open() ... 阅读全文