Guest User

Untitled

a guest
Jun 25th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <?php
  2. if(isset($_GET['user'])){
  3. $user_Entry=$_GET['user'];
  4. $pass_Entry=$_GET['pass'];
  5. include "myCon.php";
  6. $result = mysql_query("SELECT * FROM login WHERE userName = $user_Entry AND password = $pass_Entry");
  7.  
  8. while($row = mysql_fetch_array($result)){
  9. echo "<h1>Welcome " . $row['firstName'] . " " . $row['lastName'] . "!</h1>";
  10. echo "<br>";
  11. }
  12. }
  13. ?>
Add Comment
Please, Sign In to add comment