ok, so what specifically is not working with your current set up?
i need some more details on how the search is currently functioning versus how you expect it to function.
a link where i can see the problem, example search criteria to test and the expected results versus what is happening for that search would be a big help.
also, it would help to see the SQL For the search on the results page.
in the body of the results page add the following code to echo the SQL being generated:
<?php echo("SQL: ".$query_rs_people."<br />"); ?>