Re: A simple question, however it's urgent

From: Date: Mon, 17 May 2010 13:32:03 +0000
Subject: Re: A simple question, however it's urgent
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-305284@lists.php.net to get a copy of this message
On 5/17/2010 8:53 AM, Andre Polykanine wrote:
Ash, Magic quotes are disabled: http://gviragon.org/study/php.php Any ideas? Thanks a lot!
Your code should work for something as simple as this, almost regardless of the php setup. Change your $what=array("\r\n", "\n", "\r"); $with=array("<br>"); To this, so you can see exactly what's happening. $what=array("\r\n", "\n", "\r"); $with=array("[*rn*]", [*n*], [*r*]); Echo the string. There is an error in your $what. You have not included \n\r which is the most likely case.

« previous php.general (#305284) next »