Hi I need to write a pretty advanced search(Engine) using PHP.
I will need to query a database with a few checkboxes where the result with the most selected should be showed first and then in a diminishing order.
i.e.
I have five checkboxes, the user needn't check all, only the apropriate ones, say he selects 3 of the 5 then I needto show him the results that match those three the other two doesn't play a part in the result(they can be true or false in the result. then after I showed the results that match exactly I must show the next relevant results i.e. results with two of the three.
I don't of yet have a final DB design.
Please any help would be highly appreciated.
Thanx
Mairiiv
I will need to query a database with a few checkboxes where the result with the most selected should be showed first and then in a diminishing order.
i.e.
I have five checkboxes, the user needn't check all, only the apropriate ones, say he selects 3 of the 5 then I needto show him the results that match those three the other two doesn't play a part in the result(they can be true or false in the result. then after I showed the results that match exactly I must show the next relevant results i.e. results with two of the three.
I don't of yet have a final DB design.
Please any help would be highly appreciated.
Thanx
Mairiiv