|
For those that were having trouble with the
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Try something like this code:
$MySQLPassword = "password";
$HostName = "localhost";
$UserName = "username";
mysql_connect($HostName,$UserName,$MySQLPassword)
or die("ERROR: Could not connect to database!");
mysql_select_db("database_name");
I haven't worked on this engine for a few weeks, but decided to rewrite the connection script and see if I could get things working. It now works great!
Thanks for this tutorial! It is a great one!
|