Commit e38658af authored by Clement GAUDUCHEAU's avatar Clement GAUDUCHEAU
Browse files

tri des dossiers

parent 1964bc11
<html lang="fr">
<meta charset="utf-8"/>
<form method="POST" action="test.php">
<label for="login">quel mot cherchez vous ?</label>
<input type="text" id="login" name="recherche"/>
<input type="submit" value="Envoyer" />
<input type="reset" value="Annuler" />
foreach ($split as $motCourant){
//on calcul la distance entre l'input et le mot courant
$lev=levenshtein($input, $motCourant);
echo "Vouliez-vous dire : ".$motsPossibles;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment