MySQL Error: SELECT A.name, A.id FROM hwdu_tag AS A, hwdu_object2tag AS B WHERE A.id_parent=5 AND A.id=B.tag_id AND B.object_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
MySQL Error:
SELECT *, DATE_FORMAT(add_date, '%d.%m.%Y') AS format_date
FROM hwdu_object AS A WHERE type_id=3 AND =id_parent
AND active=0
ORDER BY A.priority, A.add_date DESC, A.id DESC
LIMIT 0, 15
:: 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 '=id_parent
AND active=0
ORDER BY A.priority, A.add_date DESC, A.id DESC
L' at line 2