Hi I am just after an idea how to do this.
I have a page which displays all information from a MySQL database. If one of the fields contains php how would I stop it from executing and display as text only? I would like html to display as html but just not php
It won't execute until you eval(uate) it. You may want to replace < and > with < and > respectively, so it's not treated as HTML code.
This topic is now closed. New replies are no longer allowed.