Re: £ outputting £ signs

From: Date: Tue, 22 Jul 2003 13:59:33 +0000
Subject: Re: £ outputting £ signs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156228@lists.php.net to get a copy of this message
My suggesstion would be as your adding the data to the database convert the £ to &pound; Thats should solve the problem however not provide an explaination for what is occuring here. Dave "Bob pilly" <bobpilly@yahoo.co.uk> wrote in message news:20030722132203.83413.qmail@web40505.mail.yahoo.com... > Hello all > > Can someone tell me where i am going wrong here. I am trying to echo a '£' to the screen which has come from a database field. I get the field by: > > $notes=%row["notes"]; > > and the feild contains the data £25000, however when i echo this to the screen i get £25000. I have tried htmlentities() but obviously that outputs &pound; as it should. html_entity_decode() makes no diference either. Any suggestions or pointing me to the right function docs etc would be greatly appreciated! > > Thanks in advance for any help! > > > --------------------------------- > Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

« previous php.general (#156228) next »