Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts

    Inserting ASCii Codes into Database

    Hello,

    I am working with an ASP web calendar for my classroom, which has event titles and event descriptions for homework assignments. Those values are taken from text areas and inserted into an Access database. I want to type HTML code into a text box to link to a PDF file that I want the students to be able to download. However, when this information is inserted into the database I have a problem.

    The < and > are changed to their ASCii HTML names &lt; and &gt; which makes my link look like &lt;a href="file.pdf"&gt;Download&lt;/a&gt; (which obviously doesn't work).

    Is their any way to keep the text area from using the HTML names?
    Pepe, the bull

  • #2
    Regular Coder
    Join Date
    Jan 2005
    Posts
    155
    Thanks
    0
    Thanked 0 Times in 0 Posts
    did you write the code for the calendar or is it a premade application? they could have a replace function that they use for issues like the < > and replacing them with their ascii form. you could find that code and remove that or you can run your own replace when posting the code back to the page.

  • #3
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts
    It is a premade application. I found the code to fix it. Thank you.
    Pepe, the bull


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •