this is mysqlquery
SELECT course_id
FROM course_master
WHERE year_id = '6'
AND course_name = ''What is Test?': Perspectives'
When i run the query it throws a syntax error because of special characters problem.Iam using mysql_escape_string to escape but it is not working.How to escape these characters