when i connect the database connection file like this require("adminheader.php") it's not working but when i write php code in the same pagemysql_connect("localhost","root","") or die ("could not connect to mysql");mysql_select_db("cabinatecart") or die ("no database"); above the file then it works.why