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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php