Location: PHPKode > scripts > Open4Listing > setari.php
<?php

	$dbServer = "localhost";
	$dbName9 = "database name";
	$dbUser9 = "database username";
    $dbPass9 = "user password";






	function ConnectToDb($server, $user, $pass, $database)

	{

		// Connect to the database and return

		// true/false depending on whether or

		// not a connection could be made.

		

		$s = @mysql_connect($server, $user, $pass);

		$d = @mysql_select_db($database, $s);

		

		if(!$s || !$d)

			return false;

		else

			return true;

	}









?>
Return current item: Open4Listing