header("content-type:application/json;charset=utf-8"); //加上这个字体会变小.
mysqli_query($connect,"set names utf8"); //加上这个中文可以正常显示
mysqli_query($connect,"set names utf-8"); //utf-8 这个杠要了就不起作用
"select * FROM `user` WHERE `phone` ='{$phone}' and `pwd` ='{$pwd}' and
后边不加单引号不行,否则就只能接受数字;连英文都不行