Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2. if(isset($_POST['input'])){
  3. $c=mysqli_connect('localhost','root','','controlo');
  4. $input=$_POST['input'];
  5. mysqli_query($c,"insert into`vsv 1`(`Nome`)values('$input')");
  6. }
  7. ?>
  8. <html>
  9. <body>
  10. <form action=Test.php method=post>
  11. <input name=input>
  12. <input type=submit>
  13. </form>
  14. </body>
  15. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement