also so wie ich es entnommen habe, willst du Username + Passwort wiedergeben.


HTML-Teil

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <title>PHP Anfänger</title>
  </head>
  <body>
  <center>
        <table background="src/bg.jpg" width="500" height="200" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="center">
              

              <form action="?" method="POST">
              Dein Username:

              <input type="text" size="24" maxlength="50" name="krs">


              Dein Passwort:

              <input type="password" size="24" maxlength="50" name="pwd">


              <input type="submit" value="Login">
              </form>

          </td>
        </tr>
        <table>
       
  </center>
  </body>
</html>

PHP Teil
Code:
<?php
$username = $_POST['krs'];
$passwort = $_POST['pwd'];

if(isset($_POST['krs']) AND isset($_POST['pwd']) ) 
{
echo $_POST['krs'];
echo "
";
echo $_POST['pwd'];
} 

?>