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 (`subdomainname` = "" OR `subdomainname` IS NULL)' at line 1

Fatal error: Call to a member function fetch_assoc() on boolean in /var/www/html/demo_youportal/classes/sdba/sdba.php on line 655