Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- include("connect.php");
- $name = $_SESSION['username'];
- $pass = $_SESSION['password'];
- $query_plus = 'UPDATE `testdb` SET `count`= count + 1 WHERE username="'.$name.'" and password="'.$pass.'" ';
- $result2 = mysqli_query($con, $query_plus);
- ?>
Add Comment
Please, Sign In to add comment