Good day,
I created a survey with several questions. I would like to query the highest number of responses from the 3 questions and display only the one with the highest. This is what I have in MYSQL;
Fields: Total:
RESPONSE 1 8
RESPONSE 2 6
RESPONSE 3 10
The fields have 'Y' for answers. So I'm counting the number of 'Y''s for each field.
Display;
Response 3
Is there a simple way to query this in php?
Thank you
I created a survey with several questions. I would like to query the highest number of responses from the 3 questions and display only the one with the highest. This is what I have in MYSQL;
Fields: Total:
RESPONSE 1 8
RESPONSE 2 6
RESPONSE 3 10
The fields have 'Y' for answers. So I'm counting the number of 'Y''s for each field.
Display;
Response 3
Is there a simple way to query this in php?
Thank you