[Error]: SQL/DB Error --
[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]
SELECT adv_zipcode FROM adverts WHERE adv_userid=
Stack Dump: db->print_error(string("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")) [/home/wwwswin/public_html/lib/class.DB.php:197] db->query(string("SELECT adv_zipcode FROM adverts WHERE adv_userid=")) [/home/wwwswin/public_html/lib/class.DB.php:264] db->get_var(string("SELECT adv_zipcode FROM adverts WHERE adv_userid=")) [/home/wwwswin/public_html/lib/class.GroupEvent.php:48] groupevent->initbyid(string("29")) [/home/wwwswin/public_html/lib/class.GroupEvent.php:36] groupevent->groupevent(string("29")) [/home/wwwswin/public_html/groups/group_event.php:18]