Weigh variables


I’m sure there’s better terminology, but here goes…

What I’m trying to test out is having a user use 3-6 sliders to adjust how much “weight” they assign each variable and dynamically adjust results. Now, the ajax and slider code seems straight forward.

Can’t get my head around the syntax of the mysql query, and because I’m probably not using the right words, can’t find any tutorials. So any guidance would be greatly appreciated.

mysql 5 and php5

What query? Table descriptions, example data?