Hi,
When I try to put a £ infront of a variable such as this piece of code:
<td align=\"left\">£{$row['price']}</td>
The results are returned like this £20.00 instead of £20.00. Why is this?
it is something with charset
you can use: £ just like we use © for copyright
These chars are called HTML Entity and are special for writing HTM Here is a good list: HTML: Special Characters, from University of TEXAS, USA http://www.utexas.edu/learn/html/spchar.html
or set the web page character encoding to what ever your editor is using. if they are both the same then it should display properly.
Thank you very much 🙂