put this in an include file:
//Settings: (deafault settings for localhost developing)
$host = "localhost";
$username = "root";
$password = "";
$db = ""; //Your db name!
//Connect:
mysql_connect($host, $username, $password) or die (mysql_error());
mysql_select_db($db) or die (mysql_error());
(Include in your script
require("database.inc.phtml"); )
/Niels Bosma