i am doing a simple echo statement in php like echo " the price is £.5.00 "; PHP: but it keeps changing the pound sign and i've tried escaping the character with a backslash but doesn't wont, can someone help ta.
As above, you should use the code for special symbols... that said, you may also want to check the character set encoding for your page if it isnt working with a normal typed pound sign - on a separate note, whats the . for between the £ and the 5 ?
pit it in single ' instead of double " itll will fix ur problem! double " interpret variables too but single ' read it liek it is no matter what!
I assume your code is being sent to the browser which in case it does not recognize the ASCII code for that symbol. For HTML you need to use the £ simple as others have suggested.