SuperPower09 Posted October 17, 2017 Share Posted October 17, 2017 Sorry if this is a silly/redundant question but I couldn't find the answer to save my life. So...Is there a way to exclude a phrase or word from within the Advanced Search? I could've swore the "NOT" operator was included for this case but I guess not Link to comment Share on other sites More sharing options...
♥ecartz Posted October 30, 2017 Share Posted October 30, 2017 There is no native provision for this. You might change advanced_search_result.php to add it. Look for case '(': case ')': case 'and': case 'or': $where_str .= " " . $search_keywords[$i] . " "; break; and change it to case '(': case ')': case 'and': case 'or': case 'not': $where_str .= " " . $search_keywords[$i] . " "; break; Add one line with not in it. Then you could use not as you expect. I haven't tested this for functionality or efficiency. Use at your own risk. Always back up before making changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.