Jump to content

Html in sql output


The Praetorian

Recommended Posts

Is it possible to insert html into an sql table so that when the information is pulled out, it displays as html and is processed accordingly?Specifically, when I insert something into a specific row, is it possible to insert a link into that row so that when it's displayed the browser will process and display it as a link?

Link to comment
Share on other sites

It doesn't matter what you store in a database. All you are storing is text, if you want that text to be a string of HTML, that's fine. If you want to get the text and send it to a browser, then the browser will try to interpret it as HTML.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...