I have a problem as described below
- Users fill in information in a html textarea.
Sometimes they enter code in the textarea.
eg.
<script src="fancybox/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
Now I want to display the output in a browser using PHP and the browser does not treat this as text but as code.
Is there a way to display this as text using php?