-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>
數據刷新間隔會是每一分鐘。 謝謝!