Guest User

Untitled

a guest
Feb 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?
  2. include "../includes/head3.php";
  3. ?>
  4. <html>
  5. <body>
  6.  
  7. <form action="<?=$_SERVER['PHP_SELF']?>?adds=1" method="post">
  8. Username: <input type="text" name="name" />
  9. ID: <input type="text" name="id" />
  10. <input type="submit" />
  11. </form>
  12.  
  13. </body>
  14. </html>
  15. <?
  16.  
  17. mysql_query("INSERT INTO APSLOG (Name, UserID) VALUES ($_POST['name'], $_POST['id'})");
  18.  
  19. ?>
Add Comment
Please, Sign In to add comment