Location: PHPKode > projects > Matterdaddy Market > inc_dbcon.php
<?php

	// Change these to be for your database
	$dbhostname = "yourhost.com";
	$dbname 	  = "your_database_name";
	$dbusername = "your_database_username";
	$dbpassword = "Your_databse_password";		

if(!$dbConn = mysql_connect($dbhostname, $dbusername, $dbpassword))
	die('I could not connect to the database. Clease check the inc_dbcon file and make sure everything is correct.');
if(!mysql_select_db($dbname, $dbConn))
	die('I could not select the database. Check the inc_dbcon file and make sure everything is correct.');
?>
Return current item: Matterdaddy Market