check
ページをリロードせずに 4 秒ごとに divを更新したい。それ、どうやったら出来るの?
<?php
include 'admin/db.php'; /*including database config*/
$result = mysql_query("SELECT * FROM player ORDER BY id");
while($row = mysql_fetch_array($result))
{?>
<div align = "center">
<table border = "1px">
<tr>
<th>Name</th>
<th>Run</th>
<th>Bowl</th>
<th>Strike Rate</th>
<th>4's</th>
<th>6's</th>
</tr>
<tr>
<div id = 'check'>
<td><?=$row['name'];?></td>
<td><?=$row['run'];?></td>
<td><?=$row['bowl'];?></td>
<td><?=$row['sr'];?></td>
<td><?=$row['numberofFours'];?></td>
<td><?=$row['numberofsixes'];?></td>
</div>
</tr>
</table>
</div>
<?php
}
mysql_close($con);
?>