SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

Aspell

aspell_new
aspell_check
aspell_check_raw
aspell_suggest

6.3.2 aspell_check

[ Exemples avec aspell_check ]   PHP 3>= 3.0.7, PHP 4 >= 4.0.0

Description

boolean aspell_check(resource dictionary_link ,string word )

aspell_check vérifie l'orthographe d'un mot et retourne TRUE si l'orthographe est correcte, et FALSE sinon.

Exemple avec aspell_check

<?php
  $aspell_link 
aspell_new("english");
  if (
aspell_check($aspell_link,"testt")) {
    echo 
"L'orthographe est correcte.";
  } else {
    echo 
"Désolé, l'orthographe est incorrecte.";
  }
?>


Chapitre précédentChapitre suivantAccueil nexen.net