hi i am having trouble. im using mysql via phpmyadmin . I keep geting the "unable to locate the database" error....i dont know what is wrong, can anyone help? this is the header.php code (with password taken out)
<?php
$dbnews = @mysql_connect("localhost", "livetobl_admin", "mypassword");
if (!$dbnews) {
echo( "<p>Unable to connect to the " .
"database server at this time.</p>"
);
exit();
}
// Select the database
if (! @mysql_select_db("livetobl_clan") ) {
echo( "<p>Unable to locate the database " .
"at this time.</p>"
);
exit();
}
?>
<?php
$result = @("SELECT * FROM extra");
$template = mysql_fetch_array($result);
extract($template);
echo("$template");
?>