-2
I need to see in detail, from what I read and the following:
IF THE $NAME VARIABLE IS PRESENT AND $NAME IS NOT EMPTY RUN: ADD IN THE BASE DATE COLUMN "OATME" LOGIN, AND PASSWORD THE VARIABLES $NAME AND $PASSWORD, UPON $RESULTADO_USUARIO, IF EXECUTED $RESULTADO_USUARIO RUN .. I DON’T KNOW ANYMORE... YOU CAN HELP ME?
if (isset($name) && !empty($name)){
$result_usuario = "INSERT INTO aveime (login, senha) VALUES ('$name', '$password')";
$resultado_usuario = mysqli_query($conn, $result_usuario);
if($resultado_usuario){
$_SESSION['id'] = mysqli_insert_id($conn);
header("Location: form2.php");
}