daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest May 16th, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db_con
  2.  
  3. <?php
  4.     require_once("include/config.php");
  5.     $db_con = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
  6.     if (!$db_con)
  7.         die("Database Connection Failed: " . mysql_error());
  8.        
  9.     $db_select = mysql_select_db(DB_NAME, $db_con);
  10.     if (!$db_select)
  11.         die("Database Selection Failed: " . mysql_error());
  12. ?>
RAW Paste Data
Top