Arquivos
atlas-digital/CLASSES/conexao.php
T
2020-08-05 09:31:43 -03:00

13 linhas
309 B
PHP
Arquivo Executável

<?php
$c = mysqli_connect("localhost", "ricardo", "123", "atlas");
$nome = $_POST['nome'];
$telefone = $_POST['telefone'];
$email = $_POST['email'];
$senha = $_POST['senha'];
mysqli_query($c, "insert into usuarios (nome, telefone, email, senha) Values ('$nome','$telefone','$email','$senha')");