Hello,
I am trying to save a submitted "Html code" into database and then show it in the form of "Html Code" in a web page (this is a programming tutorial website, so I need the codes to be shown without being mixed with the web page itself).
How can I escape the html code when saving to database in a way that later I can show it on a web page.
Thank you for your time.