I have the folowing special character(& #259; & nbsp; & #351; ) into a database. Can someone please tell me how can i make them been interpreted, i mean how can i see what are the character for that special code.
I have the folowing special character(& #259; & nbsp; & #351; ) into a database. Can someone please tell me how can i make them been interpreted, i mean how can i see what are the character for that special code.
Did you try html_entity_decode() ??
example:
& nbsp; will be not show as that is the code for a [space] (ref: http://www.lookuptables.com/)Code:$foobar = "& #259; & nbsp; & #351;"; (without spaces) print html_entity_decode($foobar);
Thanks! ...for that answer ...i try that and it workt.![]()
Last edited by dardanel; 10-19-2006 at 07:56 AM.
Hi
I am extremely sorry for my earlier post, which was misleading. The code posted by AbelaJohnB works perfectly.
Sorry once more about the confusing act from my side.
Bookmarks