SQLSTATE[42000]: Syntax error or access violation: 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 'AND NOT id =' at line 1
Fatal error: Call to a member function fetchAll() on null in /home/televis2/public_html/classes/app/Hom.php on line 50