Hi all,
this time I have a rather dumb question but I'm kinda stuck:
I read a template-like file from mysql into a variable and replace certain tags. After replacing there are a lot of empty lines in the "file", any ideas how I can get rid of them?
$string = preg_replace("/$/", "", $string);
and stuff won't work because there are no real "lines" in that string i guess...
Thanks in advance,
Dominique