Just gone through 910 posts on this forum looking for the answer to my question and havent found it.
I am trying to write an advanced search form. The form itself has six drop down menus. Depending on the value of EACH drop down, it will only show the mysql entries with all these values.
For example:
If I search for entries that contain the following criteria:
$country = USA
$age = 28
$iam = Sighted
$gender = Female
$status = Married
$account_active = Yes
Then it will only show a listing of members who are from the USA, are 28 years old, are sighted, are female, married, and who are online ($account_active = Yes)
However, when I click the search button, I am presented with an error of "No matches were found in the member database for the selected criteria." (This happens regardless of what values I select from the drop downs.)
Can you please look over my code and tell me where I am going wrong? Thanks in advance.
I had to attach the code as I could not add it here because of the length of code.