By default, the whole of the typed words is managed according to the AND
principle. Thus you would not be obliged to type link-words.
In case you are
not sure of the word orthography you can only enter the first letters.
We
advise you to test several combinations of words because the results can
vary according to the orthography (singular, plural, masculine...) and also
to the word order.
Search alphabetically :
// affiche toutes les lettres de l'alphabet qui sont dans le lexique
$r = mysql_query("SELECT ENGLISH FROM Traducteur ORDER BY ENGLISH");
while($alphab = mysql_fetch_array($r)) {
$a = strtoupper(strtr(substr($alphab["ENGLISH"],0,1), "áàâéÉèêíóÓ", "aaaeEeeioO"));
if($a) $liste[] = $a;
}
$liste = array_unique($liste);
foreach($liste as $value) {
echo ''.$value.'';
echo " - ";
}
?>
Search by topic :
$cat = mysql_query("SELECT * FROM Traducteur_categ WHERE Code like '_00' ORDER BY Code");
while($c = mysql_fetch_array($cat)) echo ' - '.$c["NomAN"].'
';
?>