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 6 of 6
  1. #1
    New Coder
    Join Date
    Nov 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to writes symbols in php ?

    PHP Code:
    DEFINE("_EZ_SEARCH_FEET","Min. M2"); 
    It is a language file.
    But I want M2 convert like image in the search php form..How?

  • #2
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    SuperScript? Link

  • #3
    New Coder
    Join Date
    Nov 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry but I don't understand.What am I add this code?
    PHP Code:
    DEFINE("_EZ_SEARCH_FEET","Min. M2"); 

  • #4
    New Coder
    Join Date
    Nov 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP Code:
    DEFINE("_EZ_SEARCH_FEET","Min. M<SUP>2</SUP>"); 
    I add like this but don't change.

  • #5
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    424
    Thanks
    8
    Thanked 6 Times in 6 Posts
    I'm not sure if I understand your question correctly, but you can probably use HTML Special Characters:

    Superscript one ( ¹ ) = 185
    Superscript two ( ² ) = 178
    Superscript three ( ³ ) = 179

    (remember specChar format: start with "&#", numerical code, end with ";")

    ~ Mo

  • #6
    New Coder
    Join Date
    Nov 2006
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mOrloff View Post
    I'm not sure if I understand your question correctly, but you can probably use HTML Special Characters:

    Superscript one ( ¹ ) = 185
    Superscript two ( ² ) = 178
    Superscript three ( ³ ) = 179

    (remember specChar format: start with "&#", numerical code, end with ";")

    ~ Mo
    thanks it works,
    PHP Code:
    DEFINE("_EZ_SEARCH_FEET","Min. M&#178"); 


  •  

    Posting Permissions

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