I’m trying to write the £ symbol to a file using PHP. However when I open the file I have created the £ sign is always preceded with the symbol ¬ (on my keyboard this is an alt L)
Is there anyway to suppress this?
$file=fopen($lastid,'w');
echo $file;
fwrite($file, "
Date: $receipt_date
Customer: $customer
Receipt number: $id
Description: $description
Amount: £$NET
VAT: £$VAT
Total: £$gross
test:£500
Payment received with thanks by $payment
UNIQUECAPTURE VAT:");
fclose($file);
hi guys with a little help from my grandfather i found a way around it simply by adding
the pound symbol is now shown as
£heres the final code
Many thanks for all your help
for some reason the second
£symbol is meant to be an£