In PHP 5.2 on a linux server that i have no means of access, -100.00 is not seen as numeric, is displayed as (100.00) and if i try and typecast or add/subtract etc it becomes 0.
Really suspect its a bug with this PHP release but im stuck with it!
Can anyone offer any suggestions? Google for the first time ever re: PHP came up empty! Surely im not the only one who has encountered this issue.
Any chance you're depending on the (optional) 5th parameter to fgetcsv()? It was added in 5.3.0.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks