$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[comment] = $db->select_query("SELECT * FROM ".TB_WEBBOARD_COMMENT." WHERE topic_id = '".$_GET[id]."' ORDER BY id ");
//$result = mysql_query("SELECT id FROM web_webboard_comment");
//$_GET[id]= mysql_num_rows($result);