battles/test.php

11 lines
343 B
PHP
Raw Normal View History

2018-01-28 16:40:49 +00:00
<?php
2018-01-29 11:11:50 +00:00
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();
2018-01-29 11:46:05 +00:00
while ($items) {
$items['id'] = $items;
}
2018-01-29 11:11:50 +00:00
print_r($items);