In short, I'm trying to turn the above text field into:
"This event has been going on for the past 20 years. For more information, visit <a href="http://www.domainname.com/" target="_blank">www.domainname.com</a> or call 212.555.1234."
How do you go about changing elements inside a text field? I know that I could put the html in the text field, but the administrator of the database will not want to deal with that. Any ideas?
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
Wow, thanks. I've never used regular expressions before (very new to php). Can you explain what regular expressions are, and what they do (or provide a link to where I can find out).
I'm the type that doesn't just like to cut and paste, but also wants to learn how it works. Thanks.
i am not sure in what specific language you are interested in work with, but if you are interested in some tutorials, you could always type something like,
"tutorials regular expressions + javascript".
or
"tutorials regular expressions + PHP",
into a search box, and then hit search, for the browser to have its results. I found the following link useful, if you are interested:
You might want to go to Amazon.com, and get type "regular expressions" into their search boxes, under the heading of books, and you should be able to find a book, or 2, on the subject matter.