daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Feb 4th, 2016 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.    $dbhost = '';
  3.    $dbuser = '';
  4.    $dbpass = '';
  5.    $connection = mysql_connect($dbhost, $dbuser, $dbpass);
  6.    if(! $connection ){
  7.      die('Could not connect: ' . mysql_error());
  8.    }
  9.    echo 'Connected successfully';
  10.    echo "<br><br><br><br><br><br><br>";
  11.    $selected_one = mysql_select_db('test', $connection);
  12.    if (!$selected_one) {
  13.                 die ('Can' . mysql_error());
  14.                 }
  15. ?>
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