|
@@ 2914-2920 (lines=7) @@
|
| 2911 |
|
); |
| 2912 |
|
$answers_of_user=array(); |
| 2913 |
|
} |
| 2914 |
|
if($possible_answers_type[$row['question_id']] == 'open') { |
| 2915 |
|
$temp_id = 'open'.$open_question_iterator; |
| 2916 |
|
$answers_of_user[$row['question_id']][$temp_id] = $row; |
| 2917 |
|
$open_question_iterator++; |
| 2918 |
|
} else { |
| 2919 |
|
$answers_of_user[$row['question_id']][$row['option_id']] = $row; |
| 2920 |
|
} |
| 2921 |
|
$old_user = $row['user']; |
| 2922 |
|
} |
| 2923 |
|
// This is to display the last user |
|
@@ 3173-3179 (lines=7) @@
|
| 3170 |
|
$line++; |
| 3171 |
|
$column = 0; |
| 3172 |
|
} |
| 3173 |
|
if ($possible_answers_type[$row['question_id']] == 'open') { |
| 3174 |
|
$temp_id = 'open'.$open_question_iterator; |
| 3175 |
|
$answers_of_user[$row['question_id']][$temp_id] = $row; |
| 3176 |
|
$open_question_iterator++; |
| 3177 |
|
} else { |
| 3178 |
|
$answers_of_user[$row['question_id']][$row['option_id']] = $row; |
| 3179 |
|
} |
| 3180 |
|
$old_user = $row['user']; |
| 3181 |
|
} |
| 3182 |
|
$return = SurveyUtil::export_complete_report_row_xls( |