Guest User

Untitled

a guest
Apr 23rd, 2018
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <html>
  2. </html>
  3.  
  4. <?php
  5.  
  6. echo $_REQUEST['mail_id'];
  7. $servername = "localhost";
  8. $username = "root";
  9. $password = "";
  10. $dbname = "test";
  11.  
  12. $conn = mysqli_connect($servername,$username,$password,$dbname);
  13.  
  14. if($conn)
  15. {
  16. // echo "connection established";
  17. }
  18.  
  19. $sql = "SELECT * FROM EMPLOYEE";
  20.  
  21. $result = mysqli_query($conn,$sql);
  22.  
  23.  
  24. while($row = mysqli_fetch_row($result))
  25. {
  26. echo "$row[0] $row[1]<br> ";
  27. }
  28.  
  29.  
  30. ?>
Add Comment
Please, Sign In to add comment