SQL 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 'Анджело %' OR actors LIKE BINARY 'Джесси Джеймс Д'Андж' at line 2 at /var/www/html/engine/classes/movie.php line 59
Array
(
    [code] => 1064
    [message] => 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 'Анджело %' OR
		actors LIKE BINARY 'Джесси Джеймс Д'Андж' at line 2
    [query] => SELECT COUNT(*) AS count  FROM movie AS a WHERE a.state = 1 AND a.created < NOW()   AND (
		actors LIKE BINARY 'Джесси Джеймс Д'Анджело %' OR
		actors LIKE BINARY 'Джесси Джеймс Д'Анджело,%' OR
		actors LIKE BINARY '% Джесси Джеймс Д'Анджело,%' OR
		actors LIKE BINARY '%,Джесси Джеймс Д'Анджело %' OR
		actors = 'Джесси Джеймс Д'Анджело' OR
		actors LIKE BINARY '% Джесси Джеймс Д'Анджело' OR
		actors LIKE BINARY '%,Джесси Джеймс Д'Анджело'
	) LIMIT 1
    [context] => /var/www/html/engine/classes/movie.php line 59
)