Derek Hudson

  • OVERVIEW
  • PORTRAITS
  • STORIES
  • OTHER WORK
  • Biography
  • Contact
SELECT * FROM dh_images i,dh_image_categories c, dh_image_sub_categories sc WHERE i.img_cat = '' AND i.img_cat = c.cat_id AND i.img_sub_cat = sc.subcat_id AND i.img_sub_cat = AND i.active = 'Y' ORDER by sc.display_order ASC, i.display_order ASCYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND i.active = 'Y' ORDER by sc.display_order ASC, i.display_order...' at line 6