I have a field in a MySQL table that contains the HTML code for a page. When I click a button on a page I want to retrieve the field from MYSQL and then and have it display on the current page. I can get the HTML code from MYSQL but I don't know how to display it.
What I am doing is storing a template in html code in mysql. When the user clicks the button I want to display the html that is in mysql with some updated text.