git-svn-id: http://xe-core.googlecode.com/svn/trunk@951 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-04 02:06:29 +00:00
parent bd3a3a1da7
commit b4b8441c3d
4 changed files with 92 additions and 4 deletions

View file

@ -64,7 +64,7 @@
if(!$this->hostname || !$this->userid || !$this->password || !$this->database) return;
// 접속시도
$this->handler = new mysqli_connect($this->hostname, $this->userid, $this->password, $this->database);
$this->handler = new mysqli($this->hostname, $this->userid, $this->password, $this->database);
// 접속체크
if(mysqli_connect_error()) $this->is_connected = false;
@ -402,7 +402,7 @@
}
$virtual_no = $total_count - ($page-1)*$navigation->list_count;
while($tmp = mysql_fetch_object($result)) {
while($tmp = $result->fetch_object()) {
$data[$virtual_no--] = $tmp;
}