|
@@ 2964-2970 (lines=7) @@
|
| 2961 |
|
); |
| 2962 |
|
$answers_of_user=array(); |
| 2963 |
|
} |
| 2964 |
|
if($possible_answers_type[$row['question_id']] == 'open') { |
| 2965 |
|
$temp_id = 'open'.$open_question_iterator; |
| 2966 |
|
$answers_of_user[$row['question_id']][$temp_id] = $row; |
| 2967 |
|
$open_question_iterator++; |
| 2968 |
|
} else { |
| 2969 |
|
$answers_of_user[$row['question_id']][$row['option_id']] = $row; |
| 2970 |
|
} |
| 2971 |
|
$old_user = $row['user']; |
| 2972 |
|
} |
| 2973 |
|
// This is to display the last user |
|
@@ 3221-3227 (lines=7) @@
|
| 3218 |
|
$line++; |
| 3219 |
|
$column = 0; |
| 3220 |
|
} |
| 3221 |
|
if ($possible_answers_type[$row['question_id']] == 'open') { |
| 3222 |
|
$temp_id = 'open'.$open_question_iterator; |
| 3223 |
|
$answers_of_user[$row['question_id']][$temp_id] = $row; |
| 3224 |
|
$open_question_iterator++; |
| 3225 |
|
} else { |
| 3226 |
|
$answers_of_user[$row['question_id']][$row['option_id']] = $row; |
| 3227 |
|
} |
| 3228 |
|
$old_user = $row['user']; |
| 3229 |
|
} |
| 3230 |
|
$return = SurveyUtil::export_complete_report_row_xls( |