Heres the error:
Here is line 10 & 11 as to where it is reffering:[27-Jun-2009 17:16:33] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'tomsace'@'localhost' (using password: NO) in /home/tomsace/public_html/home.php on line 11
[27-Jun-2009 17:16:33] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/tomsace/public_html/home.php on line 11
Code: Select all
$query = "SELECT * FROM games WHERE visible='1' ORDER BY id DESC limit 9";
$result = mysql_query($query) or die('Query failed: ' . mysql_error());