?>
模板文件一: step1.html
<font size="2"><strong>步骤一 阅读《章程》</strong></font><br>
<textarea name="textarea" cols="20" rows="4" wrap="VIRTUAL">
第一条 不吸烟
第二条 不喝酒
第三条 不吃饭
</textarea>
<form name="form3" method="get" action="works.php"&
gt;
<input type="hidden" name="step1" value="1">
<input type="submit" value="我同意">
<input type="button" value="我不同意" onclick="window.close();">
</form>
模板文件二: step2.html
<strong><font size="2">步骤二 提交登记表</font></strong><br>
<form method="post" action="works.php">
<?=$errorStr ?>
<input type="hidden" name="step2" value="1">
输入登记名:<input type="text" name="username" value="<?=htmlspecialchars($_POST[username]) ?>"><br>
输入地址:<input type="text" name="address" value="<?=htmlspecialchars($_POST[address]) ?>"><br>
<input type="submit" name="Submit4" value="提交">
</form>
模板文件三: step3.html
<font size="2"><strong>步骤三 提交成功</strong></font>
| 对此文章发表了评论 |
