第13篇表单处理.pptVIP

  • 5
  • 0
  • 约6.43千字
  • 约 32页
  • 2017-06-03 发布于湖北
  • 举报
13.2.1取得文字与密码方块字段的内容 ?php // If the name field is filled in if (isset($_POST[name])) { $name = $_POST[name]; $email = $_POST[email]; printf(Hi %s! br /, $name); printf(The address %s will soon be a spam-magnet! br /, $email); } ? form action=subscribe.php method=post p Name:br / input type=text id=name name=name size=20 maxlength=40 / /p p Email Address:br / input type=text id=email name=email size=20 maxlength=40 / /p input type=submit id=submit name = submit value=Go! / /form 13.2.2- 单选按钮语法 性别:INP

文档评论(0)

1亿VIP精品文档

相关文档