sorry unfortunatly there is no given error. Just my personal error.
which is in the connect.php file
<?php
$dbHost = "localhost";
$dbUname = "root";
$dbPass = "root";
$dbName = "cds";
$table = "iquil";
$MYSQL_ERRNO = "";
$MYSQL_ERROR = "";
function Connect() {
global $dbHost, $dbUname, $dbPass, $dbName;
global $MYSQL_ERRNO, $MYSQL_ERROR;
$link_id = mysql_connect($dbHost, $dbUname, $dbPass);
if(!$link_id) {
$MYSQL_ERRNO = 0;
$MYSQL_ERROR = "The connection has failed";
return 0;
}
elseif(empty($dbName) && !mysql_select_db($dbName)) {
$MYSQL_ERRNO = mysql_errno;
$MYSQL_ERROR = mysql_error;
return 0;
}
else return $link_id;
}
function sql_error() {
global $MYSQL_ERRNO, $MYSQL_ERROR;
if(empty($MYSQL_error)) {
$MYSQL_ERRNO = mysql_errno;
$MYSQL_ERROR = mysql_error;
}
return "<br>$MYSQL_ERRNO<br>$MYSQL_ERROR<br><br>";
}
// this is the personal error message
function error_msg() {
echo "<link rel=\"stylesheet\" href=\"common/main.css\" type=\"text/css\"><body>something went wrong!!<br><br><a href=\"index.php\">home</a>";
}
?>
i don't know why it's not giving an error.