David T-G wrote:

Stuart, et al --

...and then Stuart said...
% % Diana Castillo wrote:
% >is there any function that will always replace a "&" with a "&amp" in a
% >string?
% % $string = str_replace('&', ' ', $string);


Clearly I must need more coffee, because I completely fail to see how
this will satisfy her requirement.  Does this somehow do something other
than what it obviously appears to do?

You need more coffee....better yet, Mt. Dew. Replacing an ampersand with a non-breaking space is the new form of code encryption and job security. ;)


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

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



Reply via email to