Heim > Fragen und Antworten > Hauptteil
<?php
echo '<pre>';
print_r($_POST);
echo '</pre>';
$register = <<<'FROM'
<from action= "" method="post">
<label for="name">姓名:</label>
<input type="text" name="name" id="name">
< ;label for="pwd">密码:</label>
<input type="password" name="pwd" id="pwd">
<input type="submit" value="提交">
</from>
FROM;
echo $register;
?>