Home » Php » Advance Php Interview Question » Display currency symbol in php

Display currency symbol in php

Display currency symbol in php

If you want to display a currency symbol(Char) in html you can use html entity.If you did't get html entity for any currency you can use decimal(dec) or hexadecimal(hex) values to display these currency symbol.

You can check all char,decimal and hexadecimal and entity values for all currency symbols.To find the symbol Reference table Click Here

We have Create a function to get the currency symbol for all country.In this function we have passed country code and get the corresponding currency symbol.

Reference to add More currency in function Click Here

Reference to Get More currency decimal code used in function Click to Get More Decimal code

, , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">