Hi
I am getting the following error on my “price” field that I am trying to display.
Warning: number_format() expects parameter 1 to be double, string given in /home/...
My syntax is:-
<?php echo number_format($listing['price']) ?>
Now this same php file works fine on my dedicated server running php ver 5.3.23 but not on my reseller server running php ver 5.4.30 so may be a php version issue?
Should I be writing the above syntax a different way, if so could you tell me how.
Thanks for your help.
Andy