$ListTaskPerformance = array(); if (!array_key_exists($row['staff_id'],$ListTaskPerformance[$row['department']])){ $ListTaskPerformance[$row['department']][$row['staff_id']][$row['technical_id']] = array(); } $ListTaskPerformance[$row['department']][$row['staff_id']]['technical_id'] = $row['technical_id']; $ListTaskPerformance[$row['department']][$row['staff_id']]['performance_isvalid'] = false; if ($row['technical_id'] > 0 && $row['hod_technical_status'] == 2){ $ListTaskPerformance[$row['department']][$row['staff_id']]['performance_isvalid'] = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)