tests
This commit is contained in:
parent
b0c3919ab1
commit
a46ba5a345
@ -24,7 +24,7 @@ spl_autoload_register(function ($class_name) {
|
||||
$items = [];
|
||||
$res = db::c()->query('SELECT name,img,type,id FROM inventory WHERE owner = 11263 AND dressed = 1');
|
||||
foreach ($res->fetch_assoc() as $value) {
|
||||
$items[$value['name']] = $value;
|
||||
$items[$value[0]] = $value;
|
||||
}
|
||||
print_r($items);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user