That was the trick?
At least - I was close :)

Thanks!

-afan

Klaus Reimer wrote:

Afan Pasalic wrote:

But, I can't figure out how to split them back?
$string_back = explode('\n', $string);


That one is the right one. But you must use double quotes, not single quotes. Escaped characters (except \') in single quoted strings are not processed.




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to