Nick --- Try this connect script. Then from inside you php page use <?php include('connect.php'); ?>
HTH, David --- connect.php -- // database connect script $dbhostname = "localhost"; $dbuser = "picklesql"; $dbpasswd = "pi56fb"; $dbname= "pickle"; $link = mysql_connect("$dbhostname", "$dbuser", "$dbpasswd") or die("Connection to server: $dbhostname FAILED!!"); mysql_select_db("$dbname") or die("Connection to database: $dbname FAILED!!"); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php