$haverepeat = DB::result_first('SELECT choiceid FROM '.DB::table('poll_value')." WHERE choiceid='".reset($choice_arr)."' AND $wheresql ORDER BY dateline DESC LIMIT 1");
复制代码
下面添加
$haverepeat_time = DB::result_first('SELECT dateline FROM '.DB::table('poll_value')." WHERE choiceid='".reset($choice_arr)."' AND $wheresql ORDER BY dateline DESC LIMIT 1");