When exporting data using csv full headers I seem to
always get a whole heap of extra info in the csv file.
as an example I have attached a csv file. It is from a
survey that only has 2 responses.
/function/survey_export_csv.inc
the comparison (around line 235):
if ($key == key($columns[$i])){
should read:
if ($key === key($columns[$i])){
Logged In: YES
user_id=14116
I've gone ahead and submitted this to CVS but I can't
duplicated it. Can you duplicate with a very simple survey
and send me the question types?
Logged In: YES
user_id=198398
the survey contained 3 questions.
The question types used were:
yes/no, rate scale and radio button.
Now that I've had a closer look at the csv file that I attached
to my previous post the problem seems to stem from the rate
scale question.
The extra output relate to the ratings given to this question by
the 2 respondents.
Hope this helps.
Logged In: YES
user_id=198398
the survey contained 3 questions.
The question types used were:
yes/no, rate scale and radio button.
Now that I've had a closer look at the csv file that I attached
to my previous post the problem seems to stem from the rate
scale question.
The extra output relate to the ratings given to this question by
the 2 respondents.
Hope this helps.
Logged In: YES
user_id=198398
the survey contained 3 questions.
The question types used were:
yes/no, rate scale and radio button.
Now that I've had a closer look at the csv file that I attached
to my previous post the problem seems to stem from the rate
scale question.
The extra output relate to the ratings given to this question by
the 2 respondents.
Hope this helps.
Logged In: YES
user_id=14116
I still can't duplicate, but have no doubt this could be a
bug. Did the change you posted fix it for your case?
Logged In: YES
user_id=198398
yes it did.