J
|
Jane 2/11/2008 |
Hi, |
W
|
wwwguru author 2/11/2008 |
that would do a simple search on all fields, Hi, use simple search on the list page and Any field option in the Search field dropdown box for this purpose. |
![]() |
Alexey admin 2/12/2008 |
Hi, $strWhere = "1=0"; if($where=StrWhere("Field1", $strSearchFor, $strSearchOption, "")) $strWhere .= " or ".$where; if($where=StrWhere("Field2", $strSearchFor, $strSearchOption, "")) $strWhere .= " or ".$where; if($where=StrWhere("Field3", $strSearchFor, $strSearchOption, "")) $strWhere .= " or ".$where; .....
$strWhere = "MATCH ( NAME , KEYWORDS , SKU , MANUFACTURERID , ADVERTISERCATEGORY ) AGAINST ('".$strSearchFor."')"; |