@@ 2969-2975 (lines=7) @@ | ||
2966 | ); |
|
2967 | $answers_of_user=array(); |
|
2968 | } |
|
2969 | if($possible_answers_type[$row['question_id']] == 'open') { |
|
2970 | $temp_id = 'open'.$open_question_iterator; |
|
2971 | $answers_of_user[$row['question_id']][$temp_id] = $row; |
|
2972 | $open_question_iterator++; |
|
2973 | } else { |
|
2974 | $answers_of_user[$row['question_id']][$row['option_id']] = $row; |
|
2975 | } |
|
2976 | $old_user = $row['user']; |
|
2977 | } |
|
2978 | // This is to display the last user |
|
@@ 3226-3232 (lines=7) @@ | ||
3223 | $line++; |
|
3224 | $column = 0; |
|
3225 | } |
|
3226 | if ($possible_answers_type[$row['question_id']] == 'open') { |
|
3227 | $temp_id = 'open'.$open_question_iterator; |
|
3228 | $answers_of_user[$row['question_id']][$temp_id] = $row; |
|
3229 | $open_question_iterator++; |
|
3230 | } else { |
|
3231 | $answers_of_user[$row['question_id']][$row['option_id']] = $row; |
|
3232 | } |
|
3233 | $old_user = $row['user']; |
|
3234 | } |
|
3235 | $return = SurveyUtil::export_complete_report_row_xls( |