Location: PHPKode > projects > RSS Link Adder > RSS_Reader/classes/DatabaseConnection.php
<?php
/**
*class to connect to the database
*
*/
class DatabaseConnection
{
		var $con;
		var $result;
/**
*function to connect to the database
*
*/
		function databaseConnectivity()
		{
			$hostname = "localhost";
			$username = "AjsQUare12";
			$password = "Nm53df35CVwe";
			$db_name = "AjsQUare12";
			$this->con = mysql_connect($hostname,$username,$password) or die(mysql_error());
			mysql_select_db($db_name,$this->con)or die("No such Database Found");
		}
}
?>
Return current item: RSS Link Adder