tests
This commit is contained in:
parent
e22476a631
commit
dc70c360b7
@ -31,5 +31,5 @@ print_r($items);
|
|||||||
# $items = []; foreach(фетч того ебучего массива as $value) {$items[$value['id']] = $value}
|
# $items = []; foreach(фетч того ебучего массива as $value) {$items[$value['id']] = $value}
|
||||||
$result = db::c()->query('SELECT * FROM `shop` WHERE count > 0');
|
$result = db::c()->query('SELECT * FROM `shop` WHERE count > 0');
|
||||||
while ($row = $result->fetch_assoc()) {
|
while ($row = $result->fetch_assoc()) {
|
||||||
$iteminfo[] = new item($row);
|
$iteminfo[] = new Item($row);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user