kingrunes

config.php

Jan 5th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php
  2. //MySQL and Other Config
  3.     require_once "mysqli.class.php";   
  4.         $config = array();
  5.         $config['host'] = 'localhost';
  6.         $config['user'] = 'USER';
  7.         $config['pass'] = 'PASS';
  8.         /* 'table' is a messed up api for database :D */ $config['table'] = 'mc';
  9.  
  10.         // Then simply connect to your DB this way:
  11.         $db = new DB($config);
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment