'未上传',1=>'答案未上传',3=>'题目未上传',4=>'已上传'); if(isset($examStatus[$cl['uploadExamStatus']])){ $_status = $cl['uploadExamStatus']; if($_status == 4){ echo ''.$examStatus[$cl['uploadExamStatus']].''; }else{ echo ''.$examStatus[$cl['uploadExamStatus']].''; } } ?>