SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    Nov 2003
    Location
    United Kingdom
    Posts
    2,118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I add an ascii character to a php form?

    Hi,

    I have looked high and low and I didn't even want to post this here as I thought that I would find it on the Web someone after doing a search, but I was wrong.

    I was wondering how I could show this: ' ascii code in the value of an input form so that when you view the form in a browser the ' ascii code can still be seen and it doesn't change to '

    I hope you can help.

    Thanks!

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2003
    Location
    United Kingdom
    Posts
    2,118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    You don't have to reply to this thread now as I have only just remembered how to do it.

    For anybody who doesn't know how to do it all you do is add "&" to it so it now becomes: '

    Doing this makes it show in the form once viewed through a browser as: '


Bookmarks

Posting Permissions

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