tests
This commit is contained in:
parent
7c811b089c
commit
5aed57f441
@ -21,7 +21,7 @@ spl_autoload_register(function ($class_name) {
|
||||
#echo '<hr>';
|
||||
|
||||
// Получить все...
|
||||
$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);
|
||||
|
Loading…
Reference in New Issue
Block a user