且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用PHP和mysqli登录

更新时间:2023-12-03 20:52:46

代码末尾缺少一个括号,但是我想您在此处复制代码时错过了它.确定是否可以.

There is one bracket missing in the end of your code, but I suppose you missed it when you copied your code here. Make sure if it is OK.

第二件事.您显示PHP错误吗?您可以将此代码放在PHP文件的开头.

Second thing. Do you show PHP errors? You can put this code in the beggining of your PHP file.

error_reporting(E_ALL);
ini_set('display_errors', '1');