design1
03-11-2006, 01:34 AM
Hello,
My level of .asp knowledge isn't the best, but I try!
I have a database, I am simply writing the data from the database to a page, more or less. The problem is, some of the data contains asp tags. This code *should* all work fine. My problem is, its writing the asp code as if it were text. I have the database type set to text (not sure if that has anythign to do with it), but essentially i need it to be wrote as html. Do i need to do something with html encodes? I have used those with forms before, but its been awhile.
A sample of how my code looks like this:
Category: <% if request("category") <> "" then response.write request("category") & " "%>
It should look like:
Category: Blah
Thanks a lot! I really appreciate it!!
My level of .asp knowledge isn't the best, but I try!
I have a database, I am simply writing the data from the database to a page, more or less. The problem is, some of the data contains asp tags. This code *should* all work fine. My problem is, its writing the asp code as if it were text. I have the database type set to text (not sure if that has anythign to do with it), but essentially i need it to be wrote as html. Do i need to do something with html encodes? I have used those with forms before, but its been awhile.
A sample of how my code looks like this:
Category: <% if request("category") <> "" then response.write request("category") & " "%>
It should look like:
Category: Blah
Thanks a lot! I really appreciate it!!