connect(); //取出专题名称 $strQuery="select name from zhuanti where id=$zhuanti_id"; $db->query($strQuery); if ($db->num_rows()!=0) { $db->next_record(); list($zhuanti_name)=$db->Record; } //echo $zhuanti_name; //取出栏目名称 $strQuery="select column_name from column_name where id=$column_id"; $db->query($strQuery); if ($db->num_rows()!=0) { $db->next_record(); list($column_name)=$db->Record; } ?>
 


query($strQuery); //===取出数据=== while ($db->next_record()) { list($id,$title,$post_time)=$db->Record; $show_time=substr($post_time,5,5); // $show_time=date("m-d",$post_time); echo "· $title [$show_time]
"; } ?>

$pageSize){divpage_link($url,$currentPage,$totalPages);} //建立分页 连接显示?>