I am using the nl2br() function to add line breaks (rn) to text before storing in a database. Problem is that on my edit page I'm getting these characters echoed. Is there a way of stripping these out - ie. reversing nl2br?
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)