Ik heb nou dit, en het werkt niet.
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Colombo</title>
<meta name="keywords" content="Colombo, Colombogame.com, mafia, maffia, crime, criminals">
<meta name="author" content="Youri van Mill">
<meta name="copyright" content="Colombo Inc.">
<meta name="email" content="[email protected]">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="wrapper">
<?php
if (isset($_POST['login'])) {
if (empty($_POST['name']) or empty($_POST['password'])) {
echo "Vul alles in.";
exit;
}
}
?>
<div class="logo"></div>
<div class="login">
<form action="" method="post">
<input type="text" name="name" /> <input type="password" name="password" /> <a href="" onclick="document.login.submit()">Login</a>
</form>
</div>
</div>
</body>
</html>
Toon Meer
Wie ken me helpen