Hi all,
quick problem... I don't seem to be able to strip \n's out of a string
of text:
i'm using:
<?
eregi_replace("\n", "", $foo);
?>
I've also tried:
eregi_replace("\\n", "", $foo); and
eregi_replace("\r", "", $foo); with no luck.
Am I missing something when using ereg on special characters?
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]