From 5aed57f441ca25252e6da4275b56a1d8815c7ef7 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 31 Mar 2018 16:49:44 +0300 Subject: [PATCH] tests --- admin/test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/test.php b/admin/test.php index d402c16..d5d33f4 100644 --- a/admin/test.php +++ b/admin/test.php @@ -21,7 +21,7 @@ spl_autoload_register(function ($class_name) { #echo '
'; // Получить все... -$res = db::c()->query('SELECT * FROM users'); +$res = db::c()->query('SELECT * FROM inventory WHERE owner = 11263 AND dressed = 1'); // Последовательно получать в виде ассоциативных массивов while (($data = $res->fetch_assoc()) !== null) { print_r($data);