Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Ampersand being converted to & needlessly
Readie - 10:54 am on Aug 4, 2013 (gmt 0)Thread source:: http://www.webmasterworld.com/php/4599109.htm
For simple replacements Londrum, you should avoid using preg_replace.
str_replace('&', '&', $string);
Will accomplish the same result, whilest being significantly faster as it doesn't need to load the regex engine.
Brought to you by WebmasterWorld: http://www.webmasterworld.com