i got it..just i had change the mysql_real_escape_string replace to addslashes its working