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 'a falls' AND
a.`enabled`=1 AND
a.`visible`=1
ORDER BY `c' at line 7<br />SELECT a.* FROM `ws_items` a,
`ws_tags` b,
`ws_tags_items` c
WHERE
c.item_id=a.id AND
b.id=c.tag_id AND
LOWER(b.name)='rainbow over opaeka'a falls' AND
a.`enabled`=1 AND
a.`visible`=1
ORDER BY `created` DESC
LIMIT 0,12
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 'a-falls' AND
a.`enabled`=1 AND
a.`visible`=1' at line 7<br />SELECT COUNT(a.id) as `total` FROM `ws_items` a,
`ws_tags` b,
`ws_tags_items` c
WHERE
c.item_id=a.id AND
b.id=c.tag_id AND
LOWER(b.name)='rainbow-over-opaeka'a-falls' AND
a.`enabled`=1 AND
a.`visible`=1
error