Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. //include_once("conexao.php");
  2.  
  3.  
  4. function console_log( $data ){
  5. echo '<script>';
  6. echo 'console.log('. json_encode( $data ) .')';
  7. echo '</script>';
  8. }
  9.  
  10.  
  11. if (isset($_POST["txt_nome_usuario"])) {
  12. $nome_usuario = $_POST['txt_nome_usuario'];
  13. } else {
  14. console_log('Erro');
  15. }
  16.  
  17. // $result_usuario = "INSERT INTO usuarios (nome, email, senha) VALUES ('$nome_usuario','$email_usuario','$senha_usuario')";
  18.  
  19.  
  20.  
  21. // $resultado_usuario = mysqli_query($conn, $result_usuario);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement