An Error Was Encountered

Error Number: 1064

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 ':)) ORDER BY categories.name ASC' at line 3

SELECT DISTINCT categories.id, categories.name, categories.description FROM categories, post2cat WHERE ((categories.id = post2cat.category_id) AND (post2cat.post_id = 29462858http:)) ORDER BY categories.name ASC