Kategoria


Kolory


Rozmiary


Kolekcje




Rozmiary:
Ilość
PLN
całość: PLN
Path:
/home/ceeco/ftp/bajtel/index.php (line 347):
include('/home/ceeco/ftp/bajtel/system/includes/logic.php');

/home/ceeco/ftp/bajtel/system/includes/logic.php (line 30):
include('/home/ceeco/ftp/bajtel/theme/produkt.php');

/home/ceeco/ftp/bajtel/theme/produkt.php (line 139):
get('id_cat = AND pat_id != ', 'rand()', 'limit 9');

/home/ceeco/ftp/bajtel/system/items.php (line 170):
q('SELECT *
FROM items_pol i
WHERE id_cat = AND pat_id !=
ORDER BY rand()
limit 9
');


Report:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pat_id != ORDER BY rand() limit 9' at line 3 Wrong syntax: SELECT * FROM items_pol i WHERE id_cat = AND pat_id != ORDER BY rand() limit 9