You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from gnik_product_colors where product_colorsID=''' at line 1
in query:
select product_colorsID,colors_name,colors_color, from gnik_product_colors where product_colorsID=''