| Re: Help with PHP Hmm... odd. Maybe try removing the line breaks or something? E.g.:
$string = preg_replace("\r\n","",$string);
Not sure if that'd mess up other parts of the string - does the following work?
$string = preg_replace("<t\r\nag>","<tag>",$string);
- seeing as though "\r\n" is a line break, this should be the sort of solution you are looking for. |