rajmohan Posted December 21, 2006 Share Posted December 21, 2006 Hai guys, i am using one advanced search option in that i am having gender, age_from, age_to, location,state, race, faith, matiral_status etc.....here gender, age_from, age_ to , location, state are very important they has to select race, faith, matireal_status etc.... optional.i have to find the correct result for first one if they choose any one of the second that also to be displayed.how will you do it????????help Link to comment https://forums.phpfreaks.com/topic/31445-query-problem-please-try-to-solve/ Share on other sites More sharing options...
Psycho Posted December 21, 2006 Share Posted December 21, 2006 [quote]i have to find the correct result for first one if they choose any one of the second that also to be displayed.[/quote]I don't get that. Could you please give an example? Link to comment https://forums.phpfreaks.com/topic/31445-query-problem-please-try-to-solve/#findComment-145641 Share on other sites More sharing options...
drifter Posted December 21, 2006 Share Posted December 21, 2006 are you talking about like awhere age='something' AND (race='a' OR height='c' OR field='d')where you require the first one and are happy with any from the second group? Link to comment https://forums.phpfreaks.com/topic/31445-query-problem-please-try-to-solve/#findComment-145642 Share on other sites More sharing options...
rajmohan Posted December 21, 2006 Author Share Posted December 21, 2006 yes i am looking like that onlythat is gender,from_age,to_age,location,state is important remaining are not important Link to comment https://forums.phpfreaks.com/topic/31445-query-problem-please-try-to-solve/#findComment-145645 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.