Hallo zusammen,
habe hier dieses kleine Formular, bei dem nach dem login den Benutzernamen ausgeben möchte, aber es tut sich nichts.
<html>
<head>
</head>
<body bgcolor="#eeeeee">
<form name="anmeldung" action="<?php print $_SERVER['PHP_SELF']; ?>" method="post">
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td bgcolor="#a9a9a9"><b>Name</b></td>
<td><input type="text" name="benutzername" size="10"></td>
</tr>
<tr>
<td bgcolor="#a9a9a9"><b>Passwort</b></td>
<td><input type="password" name="passwort" size="10"></td>
</tr>
<tr>
<td><input type="submit" value="login"></td>
</tr>
</table>
</form>
</body>
<?php
echo $benutzername;
?>
</html>
Gruß