Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <input type="submit" value="Enviar"/>...
  2.  
  3. <form action="bd.php" method="post" enctype="multipart/form-data">
  4. <input type="text" name="texto">
  5. <input type="submit" value="Enviar"/>
  6. </form>
  7.  
  8. <?php
  9. $sql = "INSERT INTO `table` (`TEXTO`) VALUES ('{$_POST['texto']}')";
  10. header("Location: sair.php");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement