7.3 Aspell [Obs.]
7 Index des fonctions
Manuel PHP
. Introduction . Pré-requis . Installation . Voir aussi . aspell_check_raw ->aspell_check . aspell_new . aspell_suggest
|
7.3.6 aspell_check()Vérifie un mot [Obsolète][ Exemples avec aspell_check ] PHP 3>= 3.0.7, PHP 4 <= 4.2.3
bool
aspell_check (
int
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."; } ?>
|
|