I am using a particular query for inserting records. It is going well. I am even fetching records with a select query. But my problem is that, if the record contains single
You have to escape the data
$sid = mysql_real_escape_string($sid);