MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mywebsite/public_html/index.php on line 7
Posted by: Barry Galbraith
Date: May 01, 2011 04:49PM

The indication is that this line

include_once "scripts/connect_to_mysql.php";

is not producing a connection to mysql database.

Does it contain any error checking/handling?
Does it also use
mysql_select_db('dbname');

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.