Jump to content

Archived

This topic is now archived and is closed to further replies.

DanielBourne

Survey add up and file fetching

Recommended Posts

Hi

I have a site with a sruvey form that can be filled in . This survey form has fields in it that can have the value of 1-4. At the end of the survey form when the user clicks submit i want all thes fields to add up and stored in a different field , say we call i form_total. How do i add all these up ?

Then after these have added up they will fall in to four different ratings.

The lowest being 44 and the highest being 176 so in other words

Rating 1 : 0 - 44
Rating 2 : 45 - 88
Rating 3 : 89 - 132
Rating 4 : 133-176

So when the users completes the form they will have a rating level. This rating level will then pull all documents stored with their individual rating levels and display them.

I am a novice at php and any help would be greatly appreciated.

Thank you

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.