daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest May 17th, 2018 154 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $VARDB_server = '192.168.0.2';
  3. $VARDB_user = 'root';
  4. $VARDB_pass = '123456';
  5. $VARDB_database = 'mydb';
  6.  
  7. $link=mysqli_connect("$VARDB_server", "$VARDB_user", "$VARDB_pass","$VARDB_database");
  8.  
  9. if ($link){
  10.     echo "DB Connected \n";
  11. }
  12. else {
  13.   echo 'No Connection';
  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