hi, i use AJAX, framework - JQUERY.
Now all information show in one table( <div id = "user">).
var user= setInterval(function()
{
$('#user).load(user.php?id='+ Math.random());
}, 5000);
user.php:
$rez= mysql_query($sql, $db) or die("Error");
while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){
$name= $r["name"];
$time= $r["time"];
But how make this:
$name show in div name, and $time show in div time.
One file, and two <div>
I hope to understand my trouble