1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2025-09-05 07:27:21 +00:00

add server status and fix some bug...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-10-15 20:50:47 +08:00
parent ec7a26a582
commit 3340847e38
8 changed files with 235 additions and 152 deletions

View File

@ -1,9 +1,8 @@
<?php
class current_model extends AmysqlModel {
function money_current($user) {
$sql = "SELECT * FROM `iconomy` WHERE `username` = '" . $user;
return $this->_all ( $sql );
$sql = "SELECT * FROM `iconomy` WHERE `username` = '" . $user . "'";
return $this->_row ( $sql );
}
}
?>