我有14个记录和10个显示,IDK为什么我只有第1页
这是我的要求: https://datatables.net/forums/discussion/31967/why-my-datatables-serverside-only-have-1-page
这是"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