Error Number: 1064

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 dis=0 order by orderid asc' at line 1

select * from products_color where pid=? and dis=0 order by orderid asc

Filename: models/Products_Model.php

Line Number: 220