Hello,
I have a strange problem.
I tried ereg_rplace and str_replace:
$to_test = 'This is a test';
$to_test = str_replace ("test","little test",$to_test);
echo $to_test;
the result is: "This is a \little test"
Why does this happen?
--
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]
- Re: [PHP] replace functions add \ Kasten, Holger
- Re: [PHP] replace functions add \ Jason Stechschulte

