- - Str _replace Issue
||03-05-2011 02:06 PM
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
$thescripttemps = str_replace("<wordfilter>","<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 <wordfilter aswell which i do not want. Any suggestions? Thanks!
I try that with this example
;//returns: <wordfilter>hwekljo </wordfilter>
I don't see a problem, maybe with the $thescripttemps?
||03-05-2011 06:29 PM
Yes you was correct. Lucky you said that because i was on the verge of a give up thanks again. Simple mistakes have such a big impact on these scripts!
|All times are GMT. The time now is 10:02 AM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0