$db = "gunnerthailand_board";
$table = "topics";
$limit = 20;
$host = "localhost";
$user = "gunnerthailand_board";
$pass = "kEKTpgsrXJhVMXE8";
$conn = mysql_connect($host,$user,$pass);
mysql_query("SET NAMES UTF8");
mysql_select_db($db,$conn);
?>
- THE GUNNER NEWS!
$sql = "select tid, posts, title, views, start_date from $table WHERE forum_id='2' ORDER BY tid DESC LIMIT 0,$limit";
$result = mysql_query($sql);
while($row=mysql_fetch_array($result))
{
?>
-
}
?>