Currency simble
Moderator: General Moderators
-
animatronico
- Forum Newbie
- Posts: 1
- Joined: Thu Jul 06, 2006 4:48 am
Currency simble
How do I change the currecy simble in php I got an script from dotcombuilder but i need to use the script for English costumers so I need to change the $ to £ simble any one know how to change? 
- technofreak
- Forum Commoner
- Posts: 74
- Joined: Thu Jun 01, 2006 12:30 am
- Location: Chennai, India
- Contact:
- mattcooper
- Forum Contributor
- Posts: 210
- Joined: Thu Mar 17, 2005 5:51 am
- Location: London, UK
This works:Won't a string replace of the unicode value for $ to that of the pound/euro symbol do the job ?
Code: Select all
<?
$page = file_get_contents('http://forums.devnetwork.net/viewtopic.php?t=51184');
echo (str_replace('simble','symbol',$page));
?>