Guest User

Untitled

a guest
Sep 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. //set the variables for the database access:
  3. session_start();
  4. $Host = "localhost";
  5. $User = "root";
  6. $Password = "";
  7. $DBName = "Hotel";
  8. $db = mysql_connect ($Host, $User);
  9. $s = mysql_select_db ($DBName,$db) or
  10.     die ("Cannot connect to database.Please Connect Database.");
  11.  
  12.  
  13. ?>
Add Comment
Please, Sign In to add comment