![]() |
|
|
+ Search |
![]()
|
Oct 8th, 2006 14:36
Matthew Wilkinson, Sergey Igitov, http://php.net/str-replace
PHP is inherently a preprocessor. If I am correct in thinking, you merely wish to change all "--" in some HTML code into "−−" in the HTML as entities. This can be achieved by using str_replace on the HTML code you wish to process.