Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $my_error = 'Could not connect to the database';
- $mysql_host = 'localhost';
- $mysql_user = 'root';
- $mysql_pass = '';
- $mysql_db = 'phplogin';
- if (@!mysql_connect($mysql_host,$mysql_user,$mysql_pass) || @!mysql_select_db($mysql_db)){
- die ($my_error);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement