Finally extracting questions from the survey. Additional table added to hold questions

This commit is contained in:
2025-05-31 00:16:39 +01:00
parent 437e1afede
commit dc68e98d92
7 changed files with 213 additions and 122 deletions

View File

@@ -0,0 +1,28 @@
Process required to get data into local database:
1.
2. getSurveys.php (identifies the surveys and calls:
getData.php to import the data)
3. getQuestions.php
getQuestionsData.php
Then the reportTemplate.html will work correctly
backup database:
mysqldump -u username -p > backup.sql
restore database:
mysql -u username -p < backup.sql
SURVEYS:
SV_cwKjMqAqGxImjMG - Is the correct template one!
SV_3pyZVUNpxXm1PZI - is a baaaad one!
TESTING:
get_qid_counts.html provides the ability to test the various splicing and dicing with specific questions against a specific survey.
This connects directly to get_qid_counts.php