SHARE
TWEET

Untitled

a guest Feb 4th, 2016 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     public function getTelefon() {
  3.         try {
  4.             $dsn = 'mysql:host=utb-mysql.du.se;dbname=db06';
  5.             $username = 'db06';
  6.             $password = 'Oy9CkDSJ';
  7.             $pdocon = new PDO($dsn, $username, $password);
  8.             $pdoStatement = $pdocon->prepare("");
  9.             $pdoStatement->execute();
  10.             $vara = $pdoStatement->fetchAll();
  11.             return $vara;
  12.         } catch (Exception $ex) {
  13.             $pdocon = NULL;
  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