On my website Line 24 is returning an error message: Warning: number_format() expects parameter 1 to be double, string given in /home/nt4jhhfzc5sh4y1/public_html/customer_support/pay_my_bill.php on line 24
Line 23: // Receive the posted amount and format it as a dollar amount without the currency symbol
Line 24: $amount = number_format(trim($_POST[“amount”],"$"),2);
This worked fine until we upgraded to PHP/5.4.35
Would appreciate the appropriate code. Thanks.