Code: Select all
$isplayer2=mysql_query($isplayer) or die("Could not query players table");
$isplayer3=mysql_fetch_array($isplayer2);
-------------------------------------------------------------------------------------------------------------------------------------------
Warning: mysql_query() [function.mysql-query]: Access denied for user 'a9351365'@'localhost' (using password: NO) in /home/a9351365/public_html/reguser.php on line 23
PHP Error Message
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/a9351365/public_html/reguser.php on line 23
Could not query players table
-------------------------------------------------------------------------------------------------------------------------------------------
This is what I had to use for the connect page
Code: Select all
<?php
// Create Connection
$db=mysqli_connect("mysql5.000webhost.com","a9351365_mo","removed","a9351365_mo");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>