How to display the character "£" in posting?

Discussion in 'PHP' started by fixesign, Mar 25, 2011.

  1. #1
    How to display the character "£" in posting? I am using mysql_real_escape_string, but can not function. Do you have a suggestion, friends? Thanks in advance.
     
    fixesign, Mar 25, 2011 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    You probable should be converting your input using htmlentities($input); or I guess you could just use £
     
    MyVodaFone, Mar 25, 2011 IP
  3. fixesign

    fixesign Member

    Messages:
    175
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    thanks,MyVodaFone. I've been using htmlentities, and succeeded.
     
    fixesign, Mar 25, 2011 IP