SHARE
TWEET

Untitled

a guest Feb 4th, 2016 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. ob_start();
  3. $dbhost = '';
  4.    $dbuser = '';
  5.    $dbpass = '';
  6.    $connection = mysql_connect($dbhost, $dbuser, $dbpass);
  7.    if(! $connection ){
  8.      die('Could not connect: ' . mysql_error());
  9.    }
  10.    
  11.    echo 'Connected successfully.......';
  12.    echo "<br/>";
  13.    $database = mysql_select_db('test', $connection);
  14. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top