RE: [PHP] &amp

From: Date: Wed, 28 Jan 2004 14:39:30 +0000
Subject: RE: [PHP] &amp
Groups: php.general 
Request: Send a blank email to php-general+get-176049@lists.php.net to get a copy of this message
[snip] > is there any function that will always replace a "&" with a "&amp" > in a > string? $string = str_replace('&', ' ', $string); [/snip] Shouldn't this be $string = str_replace('&', '&', $string); ?

« previous php.general (#176049) next »