$sqlstr = "select * from td_mjmk where zt='$zt' order by sj asc limit ".($page-1)*$pageSize .",{$pageSize}";
这个放在function里面就报错,不放里面就正常,You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1