I have a database with positive & negative numbers in it. I have a select query that pulls records out of the database based on the value of that number.
Now here's whats wierd, when the number is positive, it works but when it's negative it doesn't. I know for a fact that the negative number is in the database, but I still get an error saying that Supplied Argument is not a valid MySQL Resource.
The Positive number works perfectly and prints the desired result.
I've tried different datatypes in the database, decimals, intergers, floats, varchar, etc., but with no success.
Any help or suggestions would be great, I am really stumped
Thanks