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 '://www.") as link, if (truck_items_promotions.promotion_end is null,0,1)' at line 15 adodb-mysqline line:231 -