battles/test.php
2018-01-29 13:46:05 +02:00

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);