query error
This commit is contained in:
parent
204c3a1fc1
commit
4544cab04b
@ -145,7 +145,7 @@ if (isset($_GET['max'])) {
|
||||
`magic`.`img` AS `magic_img`,
|
||||
0 AS `maxdur`
|
||||
|
||||
FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `dressed` = 0 AND `inventory`.`name` LIKE "?S" AND `setsale` > 0 ORDER BY `setsale` ASC', $_GET['max'].'%');
|
||||
FROM `inventory` LEFT JOIN `magic` ON `magic` = `magic`.`id` WHERE `dressed` = 0 AND `inventory`.`name` LIKE "?S%" AND `setsale` > 0 ORDER BY `setsale` ASC', $_GET['max']);
|
||||
$iteminfo = [];
|
||||
while ($row = $data->fetch_assoc()) {
|
||||
$iteminfo[] = new ShopItem($row);
|
||||
|
Loading…
Reference in New Issue
Block a user