FORM-TAG不起作用

时间:2016-09-20 21:05:59

标签: php html post action

我尝试将此form-tag发送到我的页面customer.php,但它没有向customer.php发送帖子 在customer.php $ _POST中始终为NULL

<form action="customer.php" method="POST">
     <span id="MyCustomerDataHeader">MEINE KONTAKTDATEN</span><br><br><br>
     <label class="MyCustomerDataLabel">Nachname:</label><input type="text"  name="secondname"  class="MyCustomerData" value="<?php print_r($query->getCustomerData()->secondname);?>"/><br>
     <label class="MyCustomerDataLabel">Vorname:</label><input type="text" name="firstname" style="margin-left:15px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->firstname;?>"/><br>
     <label class="MyCustomerDataLabel">E-mail:</label><input type="text" name="email" style="margin-left:30px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->email;?>" /><br>
     <label class="MyCustomerDataLabel">Geburtstag:</label><input type="birthday" name="birthday" style="margin-left:-10px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->birthday;?>" /><br>
     <label class="MyCustomerDataLabel">Handynummer:</label><input type="text" name="mobilephone" style="margin-left:-40px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->mobilephone;?>" /><br>
     <label class="MyCustomerDataLabel">Stra&szlige:</label><input type="text" name="street" style="margin-left:15px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->street;?>" /><br>
     <label class="MyCustomerDataLabel">Stadt:</label><input type="text" name="city" style="margin-left:30px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->city;?>" /><br>
     <label class="MyCustomerDataLabel">Bundesland:</label><input type="text" name="federalestate" style="margin-left:-25px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->federalestate;?>"/><br>
     <label class="MyCustomerDataLabel">Land:</label><input type="text" name="country" style="margin-left:30px;" class="MyCustomerData" value="<?php echo $query->getCustomerData()->country;?>"/><br>
     <input type="submit" id="myCustomerDataButton" name="deleCustomer" style="font-size:14pt;margin-top:-5px;" value="ACCOUNT L&Ouml;SCHEN" />
</form>

0 个答案:

没有答案