Select * from `d017b692f8eff3e707f1103736c9a7c8_content` where content_static_name = '' . $php_self . '' and content_active = 1 and (content_activation <= '1398322800' OR content_activation = 0) and (content_expiration >= '1398322800' OR content_expiration = 0) limit 1
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 '. $php_self . '' and content_active = 1 and (content_activation <= '1398322800' ' at line 1
An SQL error has occured