Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $dbhost= "host";
- $dbname= "database name";
- $dbpass= "database password";
- $dbuser= "user"
- mysql_connect($dbhost, $dbuser, $dbpass) or die(Oops, something went wrong: " . mysql_error());
- mysql_select_db($dbname) or die(Is everying good with your DB username?: ". mysql_error());
- session_destroy();
- ?>
Add Comment
Please, Sign In to add comment