SQL error... agian

StanleyDev

Member
Nov 13, 2011
35
0
Im getting this SQL error:

Code:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource
 
Notice: Trying to get property of non-object in

PHP:
$row = mysql_fetch_object($credits);
                  $credits = $row->credits;

Im coding a simple lottery system if your asking :)
 

Users who are viewing this thread

Top