11 lines
343 B
PHP
11 lines
343 B
PHP
<?php
|
|
include 'config.php';
|
|
$items = db::c()->query('SELECT `id`, `name`, `img`, `duration`, `maxdur`,
|
|
`ghp`, `gsila`, `glovk`, `ginta`, `gintel`,
|
|
`bron1`, `bron2`, `bron3`, `bron4`,
|
|
type, prototype, otdel
|
|
FROM inventory WHERE owner = 10736 AND dressed = 1')->fetch_assoc();
|
|
while ($items) {
|
|
$items['id'] = $items;
|
|
}
|
|
print_r($items); |