Is it possible to use PHP to work out the majority from multiple vales?
For example if we had three values:
Agree=5, Disagree=2 and None=1
can PHP be used to identify that Agree and None (both together) total 6 and is therefore greater than Disagree?
If Agree and None are greater than Disagree then the value can be true, otherwise false?
Once this has been done then save the result as a value $total?
1 Answer