Ask a Question related to PHP Development, Design and Development.
-
Bob pilly #1
£ outputting £ signs
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 £ 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
Bob pilly Guest
-
chinese signs to database
Hello, i need to insert chinese signs in a table. but if i insert them, in the database there is only shown some weird values. do u know how i... -
Illustrator to Vinyl Signs...how to?
After creating some complex black and white art for a television show, I was asked to send a file to a signmaker who would create it in vinyl to put... -
Pound signs in a URL
Hi, Let's say for instance, I have an URL such as: www.mysite.com/root/programming/cfdirectory.cfm?debug=0¤tDir=dir3_C#Help&d epth=2 ... -
equation signs
how can i copy an equation from word equation editor in freehand without problems? or is it possible to type/put equation signs (like square root)? -
[PHP] XX outputting X signs
Would it not make sese to store the number as a decimal and have the '£' added at output? George, in Oxford, where £££=pints -
David Goodchild #2
Re: £ outputting £ signs
My suggesstion would be as your adding the data to the database convert the
£ to £
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.yaho o.com...to the screen which has come from a database field. I get the field by:> Hello all
>
> Can someone tell me where i am going wrong here. I am trying to echo a '£'screen i get £25000. I have tried htmlentities() but obviously that outputs>
> $notes=%row["notes"];
>
> and the feild contains the data £25000, however when i echo this to the
£ 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!Yahoo!Messenger>
> Thanks in advance for any help!
>
>
> ---------------------------------
> Want to chat instantly with your online friends? Get the FREE
David Goodchild Guest



Reply With Quote

