Home >Backend Development >PHP Tutorial >discuz! 计划任务执行后一片空白
<?phpif(!defined('IN_DISCUZ')) { exit('Access Denied');}UPDATE pre_common_member SET groupid=58 WHERE uid in(select uid from my_member where dqdate<now());?>
DB::query("UPDATE pre_common_member SET groupid=58 WHERE uid in(select uid from my_member where dqdate
试试
DB::query("UPDATE pre_common_member SET groupid=58 WHERE uid in(select uid from my_member where dqdate
试试
(select是认为不安全的,所以,你还是先把它查出来在去执行外面的update