Advertisement
Guest User

Roopavathy Baskaran

a guest
Aug 18th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. <?php
  2.  
  3.     $db = new mysqli('localhost', 'root', '', 'app');
  4.  
  5.     if ($db->connect_errno){
  6.  
  7.         die('Sorry, we are having problems');
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement