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 set_isset=1 and fk =' at line 1 select * from shop1_products where fk_producer= and set_isset=1 and fk =

1.
Db -> post ( select * from shop1_products where fk_producer= and set_isset=1 and fk =, )
/home/autoklim/public_html/WATCH/core/classes/db.class.php (Line: 103)

2.
Db -> query ( select * from shop1_products where fk_producer= and set_isset=1 and fk = )
/home/autoklim/public_html/WATCH/application/models/products.model.php (Line: 470)

3.
ProductsModel :: getByFkProducer ( , )
/home/autoklim/public_html/WATCH/application/controllers/product.php (Line: 13)

4.
ProductController -> index ( )
(Line: )

5.
call_user_func_array ( Array, Array )
/home/autoklim/public_html/WATCH/core/classes/dispatcher.class.php (Line: 35)

6.
Dispatcher -> process ( )
/home/autoklim/public_html/WATCH/index.php (Line: 7)