You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use a loop to get all LastName, FirstName and submissionIDs for a given form. I will use this to create a hyperlink that passes the submissionid on to another page that will display the form.
Pseudocode:
foreach{
$IDs= getAllSubmissions;
$form_id = 1;
$submission_id = ?;
$submission = $api->getSubmission($form_id, $submission_id);
$array = array($submission["LastName"], $submission["FirstName"]);
$comma_separated = implode (", ", $array);
echo "<a href='ViewForm.php?submission_id=$submission_id'target='_blank'>$comma_separated";
}
The text was updated successfully, but these errors were encountered:
I want to use a loop to get all LastName, FirstName and submissionIDs for a given form. I will use this to create a hyperlink that passes the submissionid on to another page that will display the form.
Pseudocode:
foreach{
$IDs= getAllSubmissions;
$form_id = 1;
$submission_id = ?;
$submission = $api->getSubmission($form_id, $submission_id);
$array = array($submission["LastName"], $submission["FirstName"]);
$comma_separated = implode (", ", $array);
echo "<a href='ViewForm.php?submission_id=$submission_id'target='_blank'>$comma_separated";
}
The text was updated successfully, but these errors were encountered: