Error: 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 1SQL: SELECT categorias.nombre_es as nombre, title, meta_title, meta_keywords, meta_description FROM categorias WHERE (categorias.id = )in: dtp_functions.php -- getCategoryDetails()