- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
... $csvArray = array_map('str_getcsv', file('participants.csv')); $length = count($csvArray); for ($i=1; $i<$length; $i++) { $firstName = $csvArray[$i][0]; $lastName = $csvArray[$i][1]; $email = $csvArray[$i][2]; $language = 'en'; // the survey to process $iSurveyID=$csvArray[$i][3]; $atokenParams = array("email"=>$email,"lastname"=>$lastName,"firstname"=>$firstName,"language"=>$language,"emailstatus"=>"OK"); $aParticipantData=array($atokenParams); $bCreateToken = true; ....
firstname,lastname,email,surveyID Adalbert,Ameise,mail1@example.org,434736 Berta,Biber,mail2@example.org,287114 Carlo,Chinchilla,mail3@example.org,288954 Doris,Dachs,mail4@example.org,434736 Emil,Eidechse,mail5@example.org,288954
Please Log in to join the conversation.
http://localhost:8080/index.php/admin/user/sa/personalsettings#modalSystemInformation
Please Log in to join the conversation.