SommaireTelecharger la documentationChapitre suivantChapitre precedent  

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

Aspell

aspell_new
aspell_check
aspell_check_raw
aspell_suggest

6.3.3 aspell_check_raw

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

Description

boolean aspell_check_raw(resource dictionary_link ,string word )

aspell_check_raw vérifie l'orthographe d'un mot sans en changer la casse, et sans essayer de supprimer les espaces aux extrémités. Elle retourne TRUE si l'orthographe est bonne, et FALSE sinon.

Exemple avec aspell_check_raw

<?php
  $aspell_link 
aspell_new("french");
  if (
aspell_check_raw($aspell_link,"testt")) {
    echo 
"L'orthographe est OK";
  } else {
    echo 
"Attention : faute d'orthographe";
  }
?>


Chapitre précédentChapitre suivantAccueil nexen.net