This commit is contained in:
lopar 2018-03-31 16:51:46 +03:00
parent 5aed57f441
commit 079f865c32

View File

@ -21,15 +21,8 @@ spl_autoload_register(function ($class_name) {
#echo '<hr>';
// Получить все...
$res = db::c()->query('SELECT * FROM inventory WHERE owner = 11263 AND dressed = 1');
$res = db::c()->query('SELECT name,img,type,id FROM inventory WHERE owner = 11263 AND dressed = 1');
// Последовательно получать в виде ассоциативных массивов
while (($data = $res->fetch_assoc()) !== null) {
print_r($data);
}
//echo n::show(11263)."<br>".n::show(11221)->geninf();
echo '<hr>';
echo nick::id(11263)->inf();
echo '<hr>';
echo nick::id(11263)->geninf(1);