This query not inserted when variable $subject has single quotes . Is there any possible solution available ?
mysql_query(\"INSERT INTO table (to_email_id,
USE
mysql_real_escape_string