Skip to content

Instantly share code, notes, and snippets.

@bkvirendra
Created May 10, 2012 21:24
Show Gist options
  • Save bkvirendra/2655999 to your computer and use it in GitHub Desktop.
Save bkvirendra/2655999 to your computer and use it in GitHub Desktop.
DB Config
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', ' '); // Your DB Username goes here
define('DB_PASSWORD', ' '); // Your DB PassWord Goes here
define('DB_DATABASE', ' '); // The name of the DB goes here
$connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error());
$database = mysql_select_db(DB_DATABASE) or die(mysql_error());
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment