Is there any way to save the results to a simple text database file (in addition to emailing it)?
Yes, open up the external formula file for this particular quiz, and within the calculate subroutine (between the face brackets), after the score has been cacluated and the email address assigned, add the following:
open (FILE, ">>/directory/to/where/your/text/database/is/datafile.txt");
print FILE "$red_score,$yel_score,$org_score,$grn_score\n";
Be sure to modify the information that is being written to match your data, and to change the path to your database file.
Does this answer your question to your satisfaction?
Next Question & Response Display All