tests
This commit is contained in:
parent
5aed57f441
commit
079f865c32
@ -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);
|
Loading…
Reference in New Issue
Block a user