db query error
This commit is contained in:
parent
6c206d3b06
commit
1063b3fe8b
@ -222,7 +222,7 @@ switch ($shopCategoryTypeNumber) {
|
||||
<TABLE BORDER=0 WIDTH=100% CELLSPACING="1" CELLPADDING="2" BGCOLOR="#A5A5A5">
|
||||
<?php
|
||||
if (isset($_GET['max'])) {
|
||||
$data = db::c()->query('SELECT * FROM `inventory` WHERE `dressed` = 0 AND `name` LIKE "?S" AND `setsale` > 0 ORDER BY `setsale` ASC', $_REQUEST['max'] . '%');
|
||||
$data = db::c()->query('SELECT * FROM `inventory` WHERE `dressed` = 0 AND `name` LIKE "?S" AND `setsale` > 0 ORDER BY `setsale` ASC', $_GET['max'] . '%');
|
||||
|
||||
while ($row = $data->fetch_assoc()) {
|
||||
$row['cost'] = $row['setsale'];
|
||||
|
Loading…
Reference in New Issue
Block a user