barefootsanders Posted June 14, 2007 Share Posted June 14, 2007 So I have HTML blocks of code stored in my database as a field, type text. I'm having problems printing it to the screen. Is there anything I should do to format the html i.e. addslashes($text) etc?? Any suggestions would be much appreciated. An example code of what is stored in the database is the following: <p>HELLO! - <a target="_blank" href="LINK_HERE.html">Click Here</a></p> Link to comment https://forums.phpfreaks.com/topic/55508-printing-html-stored-in-a-database/ Share on other sites More sharing options...
Wildbug Posted June 14, 2007 Share Posted June 14, 2007 Define "printing it to the screen." In a web browser or in a mysql client program? What results are you getting? Link to comment https://forums.phpfreaks.com/topic/55508-printing-html-stored-in-a-database/#findComment-274652 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.