daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function get_contents($SQL){
  2.    $conTemp = new mysqli("host ip", "host user", "host pass");
  3.    $conTemp->select_db("host db name");
  4.    if(!$result = $conTemp->query($SQL)){
  5.        return die("Query Failed with error code: " . '(' . $conTemp->connect_errno . ') '
  6.             . $conTemp->connect_error);
  7.    }
  8.    return $result;
  9. }
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