' dan hata veriyor.

mysql_escape_string();