lt4.php
处理定时刷新问题
session_start();
include("g_fun.php");
f_connectdb();
$tmpi = 0;
$query = "select lt_id,lt_speaker,lt_face,lt_speaked,lt_time,lt_content from lt_t_content";
$query .= " where lt_id > ".$chat_hh. " order by lt_time ";
$res = mysql_query($query, $dbh);
while ($row = mysql_fetch_array($res)) {
?>
$tempi=$row[lt_id];
}
if ($tempi > $chat_hh) {
$chat_hh = $tempi;
}
?>