Advertisement
Guest User

Untitled

a guest
Apr 15th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1.  
  2. // welcome.php
  3. <?php
  4. $servername = "localhost";
  5. $username = "root";
  6. $password = "";
  7. $dbname = "Lusers";
  8. // Create connection
  9. $conn_statue = mysqli_connect($servername, $username, $password,$dbname);
  10.  
  11.  
  12. $conn_statue->query("set name utf8");
  13. $conn_statue->query("set character set utf8");
  14. ?>
  15. <html">
  16.  
  17. <head>
  18. <title>Welcome </title>
  19. </head>
  20.  
  21. <body>
  22. <h1>Welcome <?php echo $login_session; ?></h1>
  23. <h2><a href = "logout.php">Sign Out</a></h2>
  24. </body>
  25.  
  26. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement