This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/search.php

27 lines
646 B
PHP
Raw Normal View History

<?php
2004-12-25 20:08:00 +00:00
/*****************/
/* search engine */
/*****************/
2004-03-15 16:22:00 +00:00
2004-12-25 20:08:00 +00:00
/*
2004-12-27 23:54:55 +00:00
* application environment
2004-12-25 20:08:00 +00:00
*/
2004-03-15 16:22:00 +00:00
include("path.php");
require(BASE."include/incl.php");
require(BASE."include/application.php");
2004-03-15 16:22:00 +00:00
apidb_header("Search Results");
echo "<center><b>Like matches</b></center>";
$hResult = searchForApplication($_REQUEST['q']);
outputSearchTableForhResult($_REQUEST['q'], $hResult);
$minMatchingPercent = 60;
echo "<center><b>Fuzzy matches - minimum ".$minMatchingPercent."% match</b></center>";
$hResult = searchForApplicationFuzzy($_REQUEST['q'], $minMatchingPercent);
outputSearchTableForhResult($_REQUEST['q'], $hResult);
2004-03-15 16:22:00 +00:00
apidb_footer();
?>