hi i have a form and to stop it rendering tags i am using strip_tags, but is there a way of displaying the tags but not processing them i.e. if someone puts in <a href="http://www.example.com">example.com</a> then that is exactly what will be posted as the result, and not just a blank/empty field. thanks
As I understand, you should use the function htmlspecialchars. It "Convert special characters to HTML entities".