[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);

?

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

Reply via email to