$pageTitle="Search Concepts"; include($_SERVER['DOCUMENT_ROOT'] . "/template/header.php"); ?> //need to see if they submitted a search $ERROR=false; $ERROR_MESSAGE=""; $terms=""; $CONCEPT_ID_ARRAY=array(); $RUN_AUTHOR_SEARCH=false; $RUN_YEAR_SEARCH=false; $wikiTerms="Communication"; //also test to see if we need to be looking for other types of searches if(!$ERROR){ /************************************** Run the standard conception query Query: SELECT ConceptsBeta.concept, ConceptsBeta.conception, Keywords.keyword, MATCH(concept, conception) AGAINST('$terms') AS score FROM ConceptsBeta LEFT JOIN Keywords ON ConceptsBeta.id = Keywords.conceptID WHERE MATCH(concept, conception) AGAINST('$terms') GROUP BY ConceptsBeta.concept ORDER BY score DESC LIMIT 100 **************************************/ ?>
Click on each group to see all the matches
$myrowAuthorResults[4] authored " . ucwords($myrowAuthorResults[1]) . " ($myrowAuthorResults[3])
\n"; } echo "" . ucwords($myrowYearResults[1]) . " ($myrowYearResults[3])
\n"; } echo "";
if($myrowSearchResults[5]>=2.0){
echo "![]() | \n";
//now we display any appropriate action icons
echo "![]() ![]() ![]() ![]() ![]() ![]() ![]() |
$previewString |
Sorry, we couldn't find anything in the database that matched your basic search for $terms
\n"; echo "Please try different search terms and remember you can do a boolean search too. Also, please consider adding an entry on this topic if it is something you are working with or are knowledgeable about.
\n"; } else{ echo "$myrowAuthorResults[4] authored " . ucwords($myrowAuthorResults[1]) . " ($myrowAuthorResults[3])
\n"; } echo "" . ucwords($myrowYearResults[1]) . " ($myrowYearResults[3])
\n"; } echo "Search Failure
There was a problem: echo $ERROR_MESSAGE; ?>
} /************************************************** We are done with the text search results. Now we generate the right hand column. **************************************************/ //this is the right column of the search results layout echo "The library contains $myrow[0] multimedia items.
\n"; echo "\n"; echo "