Undefined index user is dan de foutmelding. Iemand enig idee hoe dit kan komen? Heb al een hele tijd gezocht op google, vooral op stackoverflow..
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>XXL Computerwinkel</title>
</head>
<body>
<h3>php lab 12</h3>
<table border=0 cellpadding=0 cellspacing=0 >
<form name="orderform" action="<?php echo $_SERVER["PHP_SELF"];?>" method="POST">
<tr>
<td>gebruikersnaam:</td>
<td><input type="text" value="test" name="user" /></td>
<td><input type="button" name="send" value="inloggen" /></td>
</tr>
</form>
</table>
<?php
//if (isset($_POST["user"]))
//{
//$button= $_POST["send"];
$user=$_POST["user"];
print ($user);
//}
//include("cookiefuncties.php");
//welkom($_POST["user"]);
?>
</body>
</html>