This commit is contained in:
Igor Barkov [iwork] 2019-01-11 18:10:07 +02:00
parent e22476a631
commit dc70c360b7

View File

@ -31,5 +31,5 @@ print_r($items);
# $items = []; foreach(фетч того ебучего массива as $value) {$items[$value['id']] = $value}
$result = db::c()->query('SELECT * FROM `shop` WHERE count > 0');
while ($row = $result->fetch_assoc()) {
$iteminfo[] = new item($row);
$iteminfo[] = new Item($row);
}