Re: [s2smedia] Search Results.. summary
Hi,
You can get the multi search function to return up to 10 other fields from your record. You add an option of 'field#' (ie, field1, field2, ...field10) and tell the function which field should be returned.
for example, if you wanted to return the createdDate, and content, fields you could do this:
$searchTables['girls_tournaments'] = array(
'viewerUrl' => 'girls-tournament.php',
'titleField' => 'title',
'summaryField' => 'city',
'searchFields' => array('title','city'),
'field1' => 'createdDate',
'field2' => 'content',
);
You would then refer to them in your foreach loop as field1, field2, etc
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/