Guest User

Untitled

a guest
Jul 20th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2.  
  3. include("database.php");
  4.  
  5. $imageLink = $_POST["image"];
  6.  
  7. $image = $db->query("SELECT * FROM images ");
  8. $db->query("UPDATE images SET image_clicked = image_clicked + 1 WHERE image_name LIKE '$imageLink'");
Advertisement
Add Comment
Please, Sign In to add comment