Woodburn2006 Posted July 31, 2006 Share Posted July 31, 2006 i have these errors when i upload my page onto the server. it is fine on the testing server on my computer but will not run on the actual serverWarning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/dledge/public_html/pages/news.php on line 8Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/dledge/public_html/pages/news.php on line 11Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/dledge/public_html/pages/news.php on line 14Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dledge/public_html/pages/news.php on line 17Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dledge/public_html/pages/news.php on line 18Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dledge/public_html/pages/news.php on line 19anyone have any ideas?thanks Link to comment https://forums.phpfreaks.com/topic/16152-silly-error/ Share on other sites More sharing options...
trq Posted July 31, 2006 Share Posted July 31, 2006 Your database connection is failing. Link to comment https://forums.phpfreaks.com/topic/16152-silly-error/#findComment-66690 Share on other sites More sharing options...
xyn Posted July 31, 2006 Share Posted July 31, 2006 the problem is:mysql_query(): change the : to a semi-colon. example:mysql_query("QUERYHERE"); Link to comment https://forums.phpfreaks.com/topic/16152-silly-error/#findComment-66691 Share on other sites More sharing options...
Woodburn2006 Posted July 31, 2006 Author Share Posted July 31, 2006 cheers thorpe, my fault, dint put in the right connection info Link to comment https://forums.phpfreaks.com/topic/16152-silly-error/#findComment-66699 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.