Solved

what are all the different methods to represent the pound £ English Money symbol

Posted on 2011-02-23
5
355 Views
Last Modified: 2012-05-11
what are all the different methods to represent the pound £ English Money symbol
0
Comment
Question by:rgb192
  • 2
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Beverley Portlock earned 125 total points
ID: 34965262
The safest to use is the HTML entity £
0
 
LVL 3

Expert Comment

by:LFLFM
ID: 34965274
just type it up: £
example: echo "this costs £10.20)";
or use the ascii code: 156
echo "this costs " . chr(156) . "10.20";
0
 
LVL 3

Assisted Solution

by:LFLFM
LFLFM earned 125 total points
ID: 34965292
oh sorry, its ascii 163
bportlock is correct... you can use "£"
also,you can use html ascii as "£"
0
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 34965314
@LFLFM - using char 156 is OK until somebody uses a different character set either in MySQL, the browser or on their computer. That's why there is an HTML entity to represent this character that will render correctly in all situations.

0
 

Author Closing Comment

by:rgb192
ID: 34965772
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question