首 页   · 站长博客 · 用户注册 · 会员登陆  · 会员排行  ·最新主题  ·最近回复  精华区  版权声明  ·论坛管理
  当前登录身份:游客,请先登录。  笔名: 口令: 验证码:   
楼 主  index »  PHP安装/语法/函数 » [原创]表单提交的问题  


  作者:sololaowu
  注册时间:2005-07-21
  主题/回复:2/2
  积分:412
  等级:★★☆(五级)
  称号:略有小成

用户联系方式已设置为保密

 

 发表:2005-07-26 21:32:08 阅读 2048 次 回复 1 次 得分0  |   字号 字色
[原创]表单提交的问题
我写了如下程序
<html>
<head>
  <title>表单</title>
</head>
<body>
<form action="submittest.php" method="POST">
姓 :<input type="text" name="firstname" size="25" maxlength="25">
名 :<input type="text" name="lastname"  size="25" maxlength="25">
<p>
<input type="submit">
</form>
</body>
</html>


<?php      (submittest.php)
echo "a=$firstname";
echo (" ");
echo "b=$lastname";
?>


可是输出却是a= b= 我输入的数没有传过去,大侠们帮我看看问题出在哪里了?
 
 1#楼  
 
  回复人:sololaowu
  注册时间:2005-07-21
  主题/回复:2/2
  积分:412
  等级:★★☆(五级)
  称号:略有小成

用户联系方式已设置为保密
 1#楼 发表于2005-07-27 06:24:27  评分:× 

已经解决
  页数1/1首页 « 1 » 末页
  发表回复:您还没有登陆,无法发表回复。请先[登陆]

一起PHP技术联盟 主办:一起PHP 联系方式:站长QQ:4304410 QQ群:8423742 20159565 站长博客 E-mail: nqp@nqp.me 执行时间:0.003sec
SimsmaBBS 2008 (v6.0) Developed by 17php.com,Copyright(C)2003-2010 All rights reserved. 副本授权:一起PHP官方专用版