如何刷新跳转后的页面?急! <?phpheader("location:window.location='ly2.php?user=".$user."'");?> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 对不起<?phpheader("location:ly2.php?user=".$user);?> 对,就这样:<?php header("location: ly2.php?user=$user");?> 这个不行,因为跳转语句前面有很多的语句,结构是这样的:<? if (条件=true) {跳转;}?>在这里用header函数,肯定会报错。所以我才用javascript.怨我没有说清楚。庆祝为帮忙。! 1、<meta http-equiv=refresh content="刷新页面时间">2、<script language=javascript>function reload(){ window.location=window.location;}setTimeout(reload(),1000);//1000等于1秒 <?ob_start(); //打开缓冲区 header(“location:index.php”); //把浏览器重定向到index.php ?> 小白鼠和有毒的瓶的问题 php--ajax 怎么获取页面元素 大侠 帮我解决一个问题 万分感激!!!! 很基础的问题,望解答 我想做个PHP网站,就一定要学好PHP吗? 求助:PHP网站制作(急),花钱也行。 有请各位高手给我一点点提示???、 win2000下建php的web服务,请问用什么web软件? 斑竹呢?能不能将这个帖子置顶?小弟谢谢了! %%%%%%%%%%%十万火急,请高手帮忙! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%5 怎么检查字符串是不是空?
<?php
header("location:ly2.php?user=".$user);
?>
<? if (条件=true) {跳转;}?>在这里用header函数,肯定会报错。所以我才用javascript.怨我没有说清楚。庆祝为帮忙。!
<meta http-equiv=refresh content="刷新页面时间">
2、
<script language=javascript>
function reload(){
window.location=window.location;
}
setTimeout(reload(),1000);//1000等于1秒
ob_start(); //打开缓冲区
header(“location:index.php”); //把浏览器重定向到index.php
?>