Well, I happen to be a skript kiddie myself. Can you give us the source or at least tell us what it's doing wrong now?
Code:
If(empty($search) && empty($person)){
Show_search_stuff();
}
elseif(!empty($search) && empty($person)){
show_search_results();
}
elseif(empty($search) && !empty($person)){
show_info_on_person();
}
else{
error();
}
There are a million ways of doing it.
EDIT: I did a layered forum in a similar fashion to that, and it worked wonders.