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 'reilly' GROUP BY t.`tag` LIMIT 1' at line 1
DEBUG MODE
SELECT *, count(t.`tag`) AS `count` FROM `sc_tags` AS t JOIN `sc_bookmarks` AS b ON t.`bId` = b.`bId` WHERE b.`uId` = '460' AND `tag` = 'o'reilly' GROUP BY t.`tag` LIMIT 1 Line : 442 File :/home/gradeweb/public_html/edtags/services/tagservice.php