Kingy Posted November 9, 2007 Share Posted November 9, 2007 im getting this error mysql_fetch_row(): supplied argument is not a valid MySQL result resource in serverlist.php line 47 mysql_free_result(): supplied argument is not a valid MySQL result resource in serverlist.php line 48 this is the code .... [line 46] $raw = mysql_query("SELECT UNIX_TIMESTAMP(lastupdate) FROM irc_config"); [line 47] list($ts_lastupdate) = mysql_fetch_row($raw); [line 48] mysql_free_result($raw); EDIT: Sorry for double post, i got a database error the first time i tried to post... but it must of actually posted! Quote Link to comment Share on other sites More sharing options...
teng84 Posted November 9, 2007 Share Posted November 9, 2007 $raw = mysql_query("SELECT UNIX_TIMESTAMP(lastupdate) FROM irc_config") or die(mysql_error()); list($ts_lastupdate) = mysql_fetch_row($raw); mysql_free_result($raw); try to see the error Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.