Hi.
I want to build a match program with multiple options.
I wonder how the db-query has to look like:
The user for example searches for:
Option A = 6, Option B = 2, Option C = 5, Option D = 5
The results should look like this:
A = 6, B = 3, C = 5, D = 5
A = 5, B = 2, C = 4, D = 4
A = 7, B = 2, C = 4, D = 6
and so on.
Is there a way not to look for all the single options,
but to order the entries by the smallest difference
in all categories?
Thank you for any hint.
Fox