Jump to content

[SOLVED] mysql error?


Kingy

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/76607-solved-mysql-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.