You have number_format
wrong. The second parameter should be a number and you have a string– a comma. What you want is something like
echo number_format($price,2,",",",");
You have number_format
wrong. The second parameter should be a number and you have a string– a comma. What you want is something like
echo number_format($price,2,",",",");