php连接数据库用function就报错
$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
大佬们谁知道啥情况
@511,也没错啊,看看是不是其他地方的问题

小米MIX2s(白)