страница автозагрузки в чате PHP
$sql = "select * from chat order by id desc limit 15";
$result = mysql_query($sql) or die ("An error has occured with in the database.");
Pleasant Panda