<script type="text/javascript">
$(document).ready(function () {
 //首次加载
 var  articleid = $("#articleid").val();
   pageselectCallback(0);
   $("#Pagination").load("/libraries/comment/loadCommentTotalNum.php",{"articleID":articleid},function(msg){
//加载分页插件中的分页配置 data为分页总数,
$("#Pagination").pagination(msg,{
first_text:"首页",
prev_text:"上一页",
next_text:"下一页",
last_text:"尾页",
num_edge_entries:1,
num_display_entries:5,
callback: pageselectCallback
});
})
function pageselectCallback(page) {
 $.ajax({
 type: "post",
 dataType: "html",
 url: "/libraries/comment/commentContent.php", //请求的url
 data: { "page": parseInt(page+1),"article_id":articleid},
 success: function(data){
$("#articleComment").html(data);
 }
  });
}
});
</script>
<?php 
include_once "inc.php";
$comment = new commentM();
$articleid = $_POST['articleID'];

$commentcontent = $comment->page($articleid);
        echo $commentcontent['num'];
?>
问题就是在本地没有问题,传到服务器上分页有时不显示,显示出来的是总数???帮忙指点一下