EDIT:
I solved this problem by using "mysql_fetch_assoc()" and then working from there. Could a mod delete this post please.
I need to read a column from a database (this works) and turn the result into an integer (so that I can make calculations on it)... I have tried using the "mysql_fetch_object($variableReturned)", but it then comes up with an error when I try to calculate with that variable it comes up with a fatal error:
Fatal error: Unsupported operand types in [location of file] on line 23
Is there a way I can convert my result?