I'm writing a fan fiction creation system, and a map review system. Authors will go in, enter their review in the textarea box, and hit submit. It posts everything fine but in the review data it has \" and \' for quotes, etc. I don't want it like that, I want it to just have the regular " and ' characters, but im not sure how to do that. Here is my code... Can someone edit that code and paste it back in with the code to replace \" and \' with " and ' please. Thanks!
if($action == "savereview") {
/* CREATES NEW REVIEW DATA */
$tempfiledirectory = "$dir/$mapname.review";
if($tempfilehandle = fopen($tempfiledirectory, "w")) {
flock($tempfilehandle, 2);
fputs($tempfilehandle, "$review");
flock($tempfilehandle, 3);
fclose($tempfilehandle);
} else {
echo($error);
}
/* CREATES NEW REVIEW DATA */
}