Marco: $_POST['name'] im Firefox leer!

Beitrag lesen

Hallo zusammen,

jrgendwie verstehe ich die Welt nicht mehr und zwar habe ich folgendes Problem. Ich habe ein Formular wo ich z.B. 1 Eingabefeld habe. Beim klicken auf den Button wird im IE auch die Variable angezeigt was ich vorhin ausgefüllt habe.

Im Firefox ist die Variable einfach leer!! Ich verstehe das nicht, da PHP ja eine Serverseitige-Sprache ist und es nichts mit dem Browser usw. zu tun hat. Wieso geht es dann im Firefox nicht.

Hier das PHP Scrip auf der Folgeseite (k_auswertung.php):

<?
echo "Hier:".$_POST['name'];
?>

Hier ein auszug aus meinem Formular:

<form action="k_auswertung.php" method="post" name="form1">
      <table width="597" border="0" cellpadding="0" cellspacing="0" class="menulink">
        <tr>
          <td width="36"></td>
          <td width="98" height="30"></td>
          <td width="217"></td>
          <td width="87"></td>
          <td width="159"></td>
        </tr>
        <tr>
          <td width="36">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>Anrede:</td>
          <td><label>
            <select name="anrede" id="anrede">
              <option>Herr</option>
              <option>Frau</option>
              <option>Firma</option>
            </select>
          </label></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td width="36">&nbsp;</td>
          <td>Name / Firma:</td>
          <td><label>
            <input name="name" type="text" id="name" />
          </label></td>
          <td>Vorname:</td>
          <td><input name="vorname" type="text" id="vorname" /></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td><a href="#"></a></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>Strasse:</td>
          <td><label>
            <input name="strasse" type="text" id="strasse" />
          </label></td>
          <td>Ort:</td>
          <td><input name="ort" type="text" id="ort" /></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td><a href="#"></a></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>PLZ:</td>
          <td><input name="plz" type="text" id="plz" /></td>
          <td>E-Mail:</td>
          <td><input name="email" type="text" id="email" /></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>Land:</td>
          <td><select name="land" id="land">
              <option>Schweiz</option>
              <option>Deutschland</option>
              <option>Italien</option>
              <option>&Ouml;stereich</option>
          </select></td>
          <td>Telefon</td>
          <td><a href="#">
            <input name="telefon" type="text" id="telefon" />
          </a></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td><a href="k_auswertung.php">
            <input type="submit" name="Submit" value="Senden">
          </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="registrierung_step03.php"></a></td>
        </tr>
      </table>
    </form>