[snip]
>[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);
>
>?
[/snip]

I tried this and amazingly it worked! The robustness of php defies all
logic and comprehension! When did they sneak in this new feature to read
the mind of the programmer? Keep up the good work guys!

-J

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

Reply via email to