Guest User

Untitled

a guest
Jun 20th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $tabela = 'Tabela1';
  3. $data = '2018-06-20';
  4. $assunto = 'Assunto';
  5. $destino = 'Destino';
  6. $elaborado = 'Elaborado';
  7.  
  8. $query = "INSERT INTO $tabela (data, assunto, destino, elaborado)
  9. VALUES('$data', '$assunto', '$destino', '$elaborado')";
  10.  
  11. echo $query;
Add Comment
Please, Sign In to add comment