internetprogrammierung/php/signin.php

17 lines
395 B
PHP
Raw Normal View History

2018-06-11 18:15:21 +02:00
<?php
//<!--Register-->
require('../dbConnect.php');
$name = ($_POST['registerName']);
$pswd = ($_POST['registerPassword']);
$email = ($_POST['registerMail']);
// if ($abfrage == "") {
$stmt = $database->prepare("INSERT INTO user(user, email, password) VALUES (?,?,?)");
$stmt->bind_param("sss", $name, $email, $pswd);
$stmt->execute();
$stmt->close();
// }
?>