It used to work and now it doesn't
Posted: 25. January 2010 22:54
I have been working a website for several months. I use Dreamweaver 8 for layout and some boiler plate coding. I recently upgraded from xampp 1.6.8 to 1.7.3. This morning I returned to modify a page that I have first put together months ago. The page had worked fine in xampp and still works fine on my server. However, wtihout making any changes to it, I now receive this error message:
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:
And the value of $boc comes form the form with the following code:
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?
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?