Guest User

Untitled

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