why im getting this kind of error?
dont know how to fix this?
i have my own linux box and with mysql and php..
i do use php for the script to get connected to the database and display all the values on the browser.
here's my connection script
$dbservertype = "mysql";
$dbservername = "localhost";
$dbusername = "root";
$dbpassword = "root123";
$dbname = "data";
if (!mysql_connect($dbservername,$dbusername,$dbpassword)){
displayErrorPage("Cannot connect to ".$dbservername."!");
exit;
}
if (!mysql_select_db($dbname)){
Header("Location:index.php");
}
is there somethign i need to do?
this is how i connect from my page
include "connect.php";