this function is just like most site provided, there are several options, user can specify values for some options, but don't have to specify all of them,
e.g. to find users, there are some options such as: age arrange, sex, occupation, living place, height..., user can specify values for some of them, so that to shrink search result.
how can i write a prepared statement for this kind of query,