Updates as per Team meeting 28 Aug 2025

This commit is contained in:
2025-05-28 19:53:00 +01:00
parent 9d6c761d15
commit 88853e955c
9 changed files with 581 additions and 185 deletions

View File

@@ -7,7 +7,7 @@ $dataCentre = $config['data_centre'];
$surveyId = $_POST['survey_id'] ?? null;
if (!$surveyId) {
$surveyId="SV_bD838sNKZEmi6Tc"; // *****FIXME***** JUST FOR DEVELOPMENT
$surveyId="SV_cwKjMqAqGxImjMG"; // *****FIXME***** JUST FOR DEVELOPMENT
//die("No survey ID provided.");
}
@@ -93,6 +93,10 @@ curl_close($ch);
// Decode the response
$data = json_decode($response, true);
//For testing only
echo $response;
//Save surveyId
//insertSurveyIfNotExists($identifier, $description); // The identifier is actually the surveyId, and the description isn't included at this point.
$surveyIndex = getOrCreateSurvey($surveyId, "");