westman Posted November 21, 2011 Share Posted November 21, 2011 how do i put html in to and get out the database like...<br />and<a href> Link to comment Share on other sites More sharing options...
birbal Posted November 21, 2011 Share Posted November 21, 2011 are trying to print html codes as it is without being parsed by browser? Link to comment Share on other sites More sharing options...
westman Posted November 22, 2011 Author Share Posted November 22, 2011 i would like tolink and <br />likegoogleentered be a user to put in the database and when is comes out it looks like this at the moment... "i would like to link and br like google entered be a user to put in the database" Link to comment Share on other sites More sharing options...
Ingolme Posted November 22, 2011 Share Posted November 22, 2011 Just put the HTML string into the database and then take it out and print it, HTML is no different than a string, when it comes to storing it. When PHP sends the HTML string to the browser, it will be parsed as HTML. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.