数据表 - 当我有14条记录时,为什么我的页面只有一页

时间:2015-12-09 19:17:46

标签: php datatables

我有14个记录和10个显示,IDK为什么我只有第1页

这是我的要求: https://datatables.net/forums/discussion/31967/why-my-datatables-serverside-only-have-1-page

enter image description here

这是"ajax_files/all_phone_numbers.php"

的结果
{
    "sEcho": 0,
    "iTotalRecords": "14",
    "iTotalDisplayRecords": 10,
    "aaData": [
        [
            "13863202227",
            ""
        ],
        [
            "13864790508",
            ""
        ],
        [
            "13865174009",
            ""
        ],
        [
            "14073308841",
            ""
        ],
        [
            "14073884953",
            ""
        ],
        [
            "14074500122",
            ""
        ],
        [
            "14075625408",
            ""
        ],
        [
            "14076177154",
            ""
        ],
        [
            "14076688983",
            ""
        ],
        [
            "14077068252",
            ""
        ]
    ]
}

EDIT1

这是我的all_phone_numbers.php php文件,我正在使用MSSQL PDO:http://codepad.org/VdqNDQhx

0 个答案:

没有答案