The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
Hello, I recently found this functions and I wanted to know if there was a way with it I can select and change tags?
This is how I use it…
I wanna do something like changing this…
Is there a way I can do this in my function?
Surely it is better to use string replacement?
well, personally, I like the strtr command rather than the str_replace one.
But what I’m talking about is finding a certain tag, and changing it and or the content inside of it.
You can use preg_replace for that.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed