请问后台返回怎么保留现场? 用$_POST取值,如果为空,就执行你填写的错误的格式! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试下面的代码:<?phpif($Submit){ if(strlen($test)>10){ echo 'bingo!'; }else{ echo <<<JS<script language="javascript">alert('error');history.back(1);</script>JS; }}?><meta name="save" content="history"><style> .shistory {behavior:url(#default#savehistory);}</style><form method="post"><input class="shistory" type="text" name="test"><input type="submit" name="Submit"></form> php存储session到到memcache里 图片验证码和表单不能对齐 问一个关于php二次开发的问题 php中html标签显示问题 一个cms,用PHP写的... PHP如何解析 WEBSERVICES接口返回的数据 求IIS+PHP详细配置 一段PHP代码转换为JSP的,大家帮忙,100分 ?彻底禁止页面缓存 100积分,求一个curl代码,谢谢大家 往数据库插入数据,不知道为什么,数据库里只见ID在增加,却没有数据!求助帮助! 有一段时间没来了,问个问题,希望知道的帮下忙
<?php
if($Submit){
if(strlen($test)>10){
echo 'bingo!';
}else{
echo <<<JS
<script language="javascript">
alert('error');
history.back(1);
</script>
JS;
}
}
?>
<meta name="save" content="history">
<style>
.shistory {behavior:url(#default#savehistory);}
</style>
<form method="post">
<input class="shistory" type="text" name="test">
<input type="submit" name="Submit">
</form>