Guest User

Untitled

a guest
Mar 15th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <?php
  2. session_start();
  3.  
  4. $dbhost= "host";
  5. $dbname= "database name";
  6. $dbpass= "database password";
  7. $dbuser= "user"
  8. mysql_connect($dbhost, $dbuser, $dbpass) or die(Oops, something went wrong: " . mysql_error());
  9. mysql_select_db($dbname) or die(Is everying good with your DB username?: ". mysql_error());
  10.  
  11. session_destroy();
  12.  
  13. ?>
Add Comment
Please, Sign In to add comment