Hello,
i need to strip out speech marks but i'm having no luck.
Below are my PHP attemtps:
1. $New = mysql_escape_string(str_replace('(""', ''', $New));
2. $New = mysql_escape_string(str_replace('"', ''', $New));
3. $speech = """;
$InitSpeech = "'";
$New = str_replace($speech, $InitSpeech, $New));
4. $speech = "\"";
$InitSpeech = "''";
$New = str_replace($speech, $InitSpeech, $New));
Any Idea's??
Cheers,
Deddog.
Stripping out speech marks
Moderator: General Moderators
and there's more
Attempt one should be
1. $New = mysql_escape_string(str_replace('"', ''', $New));
Also,
how can i strip out carriage returns "Enters" ?
1. $New = mysql_escape_string(str_replace('"', ''', $New));
Also,
how can i strip out carriage returns "Enters" ?