Using php/mysql for calculations
Hi guys,
Im experimenting with calculations on a site but im not sure whats the right way to go about it.
the result im looking for is this,,
Im setting up a personality test on the website where the questions he answers should classify him into one of 4 groups.
my thoughts are to keep it simple, every question he answers should have a +1 effect on the certain group in question and then at the end of all the questions display the result of the group that has the largest count.
now some told me i should use javascript which im not very familiar with,
others said i should be able to do the calculations in php before the result is sent to the database
but i also thought of the possibility to send all into uncalculated to the db and then just retrieve the right result,
would like to hear your opinions on this,
or if you think there is a easier way than my "+1 effect"
thanks in advance!
