<?php
echo
"系统当前时间戳为:"
;
echo
""
;
echo
time();
//<!--JS 页面自动刷新 -->
echo
(
"<script type=\"text/javascript\">"
);
echo
(
"function fresh_page()"
);
echo
(
"{"
);
echo
(
"window.location.reload();"
);
echo
(
"}"
);
echo
(
"setTimeout('fresh_page()',1000);"
);
echo
(
"</script>"
);
?>
加入php代码中..
你在php代码里面这样写就可以了
<?php
echo "<script>location:reload();</script>";
?>
你在php代码里面这样写就可以了
<?php
echo "<script>location:reload();</script>";
?>