$sql = "SELECT mess FROM gb ORDER BY datum DESC limit 15"; //H?mta ur databas $result = mysql_query($sql) or die(mysql_error()); while ($row = mysql_fetch_assoc($result)){ echo 'mess : '.$row['mess']. ' <br />'; }