08/08/2017 at 2:28 am
#431668
Participant
I have used the following code to get gender to be searchable:
if (isset ($_GET['gender']) && $_GET['gender']) {
$where[] = ' AND honorific_suffix = "' . htmlentities($_GET['gender'], ENT_QUOTES) . '"';
}
However there are 2 issues:
- The gender box resets when the search is performed
- The text does not say that the user searched the gender as it does for category:
“You are searching within category(ies): Accident and emergency”
How do I get the text to also say “”You are searching within gender: Male” for example?
Regards,
David