$new_string = str_replace("'","''",$your_string);
$new_string = str_replace("double, single and double quotes, double, single, double qoutes, $your_string);
If so I tried this before without success. Does the code below look incorrect I have to have this format?
$sqlset2 = $sqlset2 . "'" . str_replace("'", "`",$HTTP_POST_VARS["title"]) . "'";