View Single Post
Old 03-05-2011, 02:06 PM   #1 (permalink)
Tim Dobson
The Contributor
 
Tim Dobson's Avatar
 
Join Date: Feb 2010
Posts: 69
Thanks: 16
Tim Dobson is on a distinguished road
Default Str _replace Issue

Hey guys i have been trying to get the hang of the str_replace only have a little issue

i can have
PHP Code:
$thescripttemps str_replace("<wordfilter>","&lt;wordfilter>",$thescripttemps); 
Now that works andit will replace them with no issue, the issue i have is that $thescripttemps contains </wordfilter> and turns it in to &lt;wordfilter aswell which i do not want. Any suggestions? Thanks!
Tim Dobson is offline  
Reply With Quote