$D = $Page-"1"; $DT = $D+"1"; $QueryCode = "Select Employees,ID FROM Employees LIMIT ".$DT." ".$per;
LIMIT的用法是“起始行, 取出行数”
你没写逗号,而且$DT应该是($Page - 1) * $per
$D = $Page-"1"; $DT = $D+"1"; $QueryCode = "Select Employees,ID FROM Employees LIMIT ".$DT." ".$per;