Guest User

Untitled

a guest
Mar 26th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php
  2.  
  3. session_start();
  4. include("connect.php");
  5. $name = $_SESSION['username'];
  6. $pass = $_SESSION['password'];
  7.  
  8.  
  9. $query_plus = 'UPDATE `testdb` SET `count`= count + 1 WHERE username="'.$name.'" and password="'.$pass.'" ';
  10.  
  11. $result2 = mysqli_query($con, $query_plus);
  12.  
  13.  
  14. ?>
Add Comment
Please, Sign In to add comment