Location: PHPKode > scripts > Bobo PHP DB Class > bobo-php-db-class/inc.config.php
<?php
	# example db config include	
	
	 // include the class:
	 include_once('class.db.php');
	// set the variables:
	 $db_host = "localhost";
	 $db_user = "myusername";
	 $db_pass = "mypassword";
	 $db_name = "mydatabasename";
	// make a db object:
	 $db = new mydb($db_host, $db_user, $db_pass, $db_name);
?>
Return current item: Bobo PHP DB Class