Equipment lookup Error:
select id, cat_id, subcat_id, model, main_text, main_icon, main_image, template_type, thumb1, pic1, thumb2, pic2, thumb3, pic3, thumb4, pic4, thumb5, pic5, thumb6, pic6, thumb7, pic7, thumb8, pic8, thumb9, pic9, thumb10, pic10, thumb11, pic11, thumb12, pic12, tab1name, tab1html, tab2name, tab2html, tab3name, tab3html, tab4name, tab4html, tab5name, tab5html, page_title, meta_desc, meta_keys FROM doughert_db.equipment WHERE id=;
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 '' at line 1