Guest User

Untitled

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