mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@951 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd3a3a1da7
commit
b4b8441c3d
4 changed files with 92 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue