When I try to prepend the price with a £ pound sign like below it prints a question mark instead. Can someone tell me how to resolve this please.
<?php
function myRecordHandler($item)
{
print "<p> £".$item["PRICE"]."</p>";
}
?>
Hi Dave, thanks for that!
I tried using hex as in "%A3" but that wouldn't work.
Hi Dave,
The best thing to do is to use the HTML entity £ to display the £ sign, so your code will look like this:
<?php
function myRecordHandler($item)
{
print "<p> £".$item["PRICE"]."</p>";
}
?>
Cheers,
David.