Warning: number_format() expects parameter 1 to be double, string given in C:\xampp\htdocs\ifq_css\deliveries_css.php on line 267
The page contains several boxes to enter data. If data is entered then there is no error message. If there is no data entered, the field is blank, I receive a similar message for each blank field.
This is line 267:
- Code: Select all
$boc2 = number_format($boc)
And the value of $boc comes form the form with the following code:
- Code: Select all
GetSQLValueString($_POST['boc'], "double"),
Has something changed in xampp, mysql, or something else that I am unaware of, or can someone please help me understand how to resolve this issue?