Ich bin völlig neu in Html Php Css und co..
Ich habe mir ein Panel gedownloadet, womit man sich einloggen kann.
Mein Problem ist, wie kann ich einen Benutzer erstellen und in die Datenbank einfügen? Index sieht so aus:
<!doctype html>
<head>
<!-- Basics -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Login</title>
<!-- CSS -->
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<!-- Main HTML -->
<body>
<!-- Begin Page Content -->
<div id="container">
<form>
<label for="name">Username:</label>
<input type="name">
<label for="username">Password:</label>
<p><a href="#">Forgot your password?</a>
<input type="password">
<div id="lower">
<input type="checkbox"><label class="check" for="checkbox">Keep me logged in</label>
<input type="submit" value="Login">
</div>
</form>
</div>
<!-- End Page Content -->
</body>
</html>
Ich habe mir ein Panel gedownloadet, womit man sich einloggen kann.
Mein Problem ist, wie kann ich einen Benutzer erstellen und in die Datenbank einfügen? Index sieht so aus:
<!doctype html>
<head>
<!-- Basics -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Login</title>
<!-- CSS -->
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<!-- Main HTML -->
<body>
<!-- Begin Page Content -->
<div id="container">
<form>
<label for="name">Username:</label>
<input type="name">
<label for="username">Password:</label>
<p><a href="#">Forgot your password?</a>
<input type="password">
<div id="lower">
<input type="checkbox"><label class="check" for="checkbox">Keep me logged in</label>
<input type="submit" value="Login">
</div>
</form>
</div>
<!-- End Page Content -->
</body>
</html>