-5
嗨如何在Ajax帮助下刷新特定div位置的包含数据?我有这样的代码:Ajax PHP包括刷新变量
data.php
<?php
$one = '9';
$two = '21';
$three = '746';
$four = '59';
?>
的index.php
<?php
include 'data.php';
?>
<html>
<body>
<div id="main">
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
<div id="four"></div>
</div>
</body>
</html>
数据刷新间隔会是每一分钟。 谢谢!