Could someone please explain how I would place that for more then one object.. example.. would I place it like...
$hits = $db->query ( { field_name = $in->param('field_name') } );
if ($in->param('custom')) {
$hits = $db->query ( { field_name = $in->param('field_name2') } );
}
Also, do I place in in sub search, or by itself?
THANKS!
Code:
if ($in->param('custom')) { $hits = $db->query ( { field_name = $in->param('field_name') } );
if ($in->param('custom')) {
$hits = $db->query ( { field_name = $in->param('field_name2') } );
}
Also, do I place in in sub search, or by itself?
THANKS!