Above code will call ( teachers + professors)PHP Code:
and (job like '% teacher%' or job like '%professor%')";
I like to call (teachers - math teachers).
I mean that every registered members who entered his job as teachers,
but exclude math teachers.
It's something like below
I don't expect above code does work, but I expect you understand my intention.PHP Code:
and (job like '% teacher%' and job like '%! math%')";