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 Quote Link to comment Share on other sites More sharing options...
trq Posted July 31, 2006 Share Posted July 31, 2006 Your database connection is failing. Quote Link to comment 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"); Quote Link to comment 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 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.