Search multiple tables
Looking to search through tables for content, categories, store items, store categories and more..
I have been playing around with joins doing a full join to join the content and categories together. That seemed to work, when i search with data assist if i do a AND + OR, for each title column in each table, it returns only one of the tables. heres the code.
$WADbSearch1->addComparison("title_con","".$_POST['searchbox'] ."","AND","Includes",0);
$WADbSearch1->addComparison("title_cat","".$_POST['searchbox'] ."","OR","Includes",0);
How do i set it up so that when it searches and finds results on each table, it will display the result?
I need to add probably 5 more tables into the mix after i get 2 working..