Warning: mysqli_data_seek() expects parameter 1 to be mysqli_result, boolean given in /index.php on line 578

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /index.php on line 579

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /index.php on line 582
nie udalo sie zapytanie (select items.id_item,items_data.name,prices.val from items,items_data,cat_item,subcat_item,subcat,prices where items.id_item=items_data.item and items.id_item=cat_item.item and subcat_item.subcat=subcat.id and subcat.cat=20 and subcat_item.item=items.id_item and subcat.id= and prices.item=items.id_item and cat_item.category='20' and items_data.lang='pl' and items.status=1 and items.shipping<>7 and items.shipping<>8 order by items.sales+items.sales_boost desc,items.id_item desc limit 25 offset 0): 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 prices.item=items.id_item and cat_item.category='20' and items_data.l' at line 3