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