Notice: 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 'AND `name` != '' AND `permalink` != ''' at line 3:
Here is your query: SELECT `name`, `permalink`
FROM `counties`
WHERE `langID` = 4 AND `regionID` = AND `name` != '' AND `permalink` != ''
################################## in /home/h1tc0m/public_html/objects/database.php on line 44
1