HTMLENTITES(); & the pound sign

From: Date: Tue, 01 Jul 2003 14:16:05 +0000
Subject: HTMLENTITES(); & the pound sign
Groups: php.general 
Request: Send a blank email to php-general+get-153561@lists.php.net to get a copy of this message
I am using PHP Version 4.3.2-RC1 Can someone please clarify the htmlentities() function for me? I have a variable called $notes2 that is pulled from a database that has a pound sign in it. When i echo that do the screen i get the following output: echo $notes; output= £5,000 Instead of £5,000 I thought that if i did $notes=htmlentities($notes); or echo htmlentities($notes); then the output would be £5,000 but this isnt the case. Can someone see where i am going wrong? Thanks for anyhelp in advance! ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/

« previous php.general (#153561) next »