$mysql = mysql_query("SELECT pass, user, id, folder, http, spacelimit, language, theme, permbrowse, permupload, permcreate, permuser, permadmin, permdelete, permmove, permchmod, permget, permdeleteuser, permedituser, permmakeuser, permpass, permrename, permedit, permsub, formatperm, status, recycle, permprefs FROM ".$GLOBALS['config']['db']['pref']."users WHERE user='".mysql_real_escape_string($user)."'");
list ($dbpass, $dbuser, $userid, $userdir, $http, $limit, $language, $theme, $permbrowse, $permupload, $permcreate, $permuser, $permadmin, $permdelete, $permmove, $permchmod, $permget, $permdeleteuser, $permedituser, $permmakeuser, $permpass, $permrename, $permedit, $permsub, $formatperm, $status, $recycle, $permprefs) = mysql_fetch_row($mysql);
错误在第 3 行。它说
警告:mysql_fetch_row() 期望参数 1 是资源,布尔值在第 83 行的 C:\xampp\htdocs\index.php 中给出
我尝试查找它,但无法找到修复程序。
我知道有些方法已被弃用,但我只是想解决这个问题,这样我就可以完成 2 项工作(目前)。任何帮助,将不胜感激。