Es la conexion a la base de datos:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_khatu = "localhost";
$database_khatu = "base";
$username_khatu = "diego";
$password_khatu = "gorko";
$khatu = mysql_pconnect($hostname_khatu, $username_khatu, $password_khatu) or die(mysql_error());
?>
Espero que le encuentres el error.