Questions Answered

Have a question? Try a search:

[show/hide replies]
[all]
[Auto FollowUp]
[Fantasy Betting]
[TextOnly]
[Crossword]
[Dictionary]
[iTreePad]
[AlbumAdvanced]
[VirtualTour]
[BookViewer]
[ShoppingCart]
[Petition]
[RSS Fetch]
[Random Text]
[SiteShadow]
[CounterMail]
[Misc]
[Questionnaire]
[MP3 Database]
[MillionDollarPixels]
[FreeBusy]
[ESC]
[Auto Followup]
 

Found 2 possible answers in category Questionnaire.You may choose another category in the menu on the right.

Displaying results 1 to 2.
1. I figured out just about everything I need to do to get the questionnaire going (and I just love it!) and working properly, except I have two questions. The first is: how do I get it to both display the results and send email to the user if he or she requests it?    Cat: Questionnaire

 Open up the external formula file for this particular quiz, and within the calculate subroutine (between the face brackets) add both the send email routine and the calculation score routine. You cannot have two subroutines called 'calculate,' but you can combine many different jobs within that one subroutine.

2. Is there any way to save the results to a simple text database file (in addition to emailing it)?    Cat: Questionnaire

 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";
close (FILE);

Be sure to modify the information that is being written to match your data, and to change the path to your database file.


FAQSearch Script - Create a Frequently Asked Questions search engine on your site.

Can't find your answer? Ask a new question.



[admin]

In the Spotlight

AlbumAdvanced $0.00
Add to Cart
 Got a digital camera and want an easy way to share photos with family and friends? Try AlbumAdvanced- a fun and painless way to display photos on your web server. Create descriptions, customise folders, create slide shows, and more!
[more & download links]

What People Say

PrayerWall $0.00
Add to Cart We have been using this script for several months now. It seems flawlwss and our website visitors love it!

[more & download links]

Post Page Comment