tests
This commit is contained in:
@@ -30,6 +30,11 @@ 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 ItemStats($row);
|
||||
}
|
||||
|
||||
foreach ($iteminfo as $iinfo) {
|
||||
$iinfo->printItemStats();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user