我连最基本的提交多搞不明白了,请高手解答 先去看看PHP手册再提问,或者搜索以前的帖子 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我查找了,没知道,请给我网址,谢谢但是上边的问题,这样就可以<?if ($send):echo "ok";endif;?><form action="test.php" method="post"><input name=username value="" maxlength="20"><input name=password value="" maxlength="20"><input type=submit value="登 录" name=send></form>为什么一使用图形提交按钮就不行呢,费解啊 <form action="test.php" method="post" name="myform"><input name=username value="" maxlength="20"><input name=password value="" maxlength="20"><input type=image src='你的图片' value="登 录" name=submitimg OnClick="ExeSubmit()"></form><script>function ExeSubmit(){ myform.submit();}</script> 我自己给大家解答一下吧,我找到一个最简便的方式<?if ($send):echo "ok";endif;?><form action="test.php" method="post"><input name=username value="" maxlength="20"><input name=password value="" maxlength="20"><input type="hidden" name="send" value='submit'><input src="1.gif" type=image></form>真够简单的了,加一个隐藏的即可解决,合二为一 呵呵,楼主就应该这样学,PHP在线手册http://www.php.net/manual/zh/ 我在用php做一个json字段的输出的时候,需要输出两个json数据,但是前台获取不到 PHP有没有USE这个关键词 php 圈子程序功能 有关include()函数中包含参数的困惑 我电脑上配置了PHP,局域网上的电脑怎么看我本地电脑上的网站效果呢? 救命.PHP没有办法调用MYSQL!!!! 新手提问:PHP安装的问题! 推广网站 如何获得代理服务器后的IP呢? 关于url的解析问题 请问怎么样判断这个字符串中含有多少分隔符? 40分求一段代码~
但是上边的问题,这样就可以<?
if ($send):
echo "ok";
endif;
?><form action="test.php" method="post">
<input name=username value="" maxlength="20">
<input name=password value="" maxlength="20">
<input type=submit value="登 录" name=send>
</form>为什么一使用图形提交按钮就不行呢,费解啊
<input name=username value="" maxlength="20">
<input name=password value="" maxlength="20">
<input type=image src='你的图片' value="登 录" name=submitimg OnClick="ExeSubmit()">
</form><script>
function ExeSubmit()
{ myform.submit();
}
</script>
<?
if ($send):
echo "ok";
endif;
?><form action="test.php" method="post">
<input name=username value="" maxlength="20">
<input name=password value="" maxlength="20">
<input type="hidden" name="send" value='submit'>
<input src="1.gif" type=image>
</form>真够简单的了,加一个隐藏的即可解决,合二为一
http://www.php.net/manual/zh/