Location: PHPKode > projects > EasyFest > new/include/db_connection.php
<?php

      $dbHostname = "localhost";
      $dbUsername = "root";
      $dbPassword = "";
      $dbName     = "EasyFest";      
       
      //  Make connection to database 
      //  If no connection made, display error Message          
      $dblink = MYSQL_CONNECT($dbHostname, $dbUsername, $dbPassword) OR DIE("Error !! Unable to connect to database");       

      // Select database or print error message if unsuccessful */
      mysql_select_db($dbName) or die( "Unable to select database ".$dbName); 

?>
Return current item: EasyFest