Error executing SELECT block_nameru/print/, block_textru/print/ from injan_blocks WHERE block_type='gazeta' and block_info='main' 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 ' block_textru/print/ from injan_blocks WHERE block_type='gazeta' and block_info' at line 1