Argh..this is really getting on my nerves. I've tried disabling 'Magic Quotes' from my script with set_magic_quotes_runtime(0); at the top of my script..but that didn't work. I've also tried replacing all \" and \' with just " and ', but that doesn't want to work! Can anyone see why the code below will not replace the \" and \' chars?
$new = ereg_replace('\\"', '"', $line);
$new = ereg_replace("\\'", "'", $new);
Thanks for anyone who can help..this is really getting on my nerves
Andy
$new = ereg_replace('\\"', '"', $line);
$new = ereg_replace("\\'", "'", $new);
Thanks for anyone who can help..this is really getting on my nerves
Andy