pspell_check
(PHP 4 >= 4.0.2, PHP 5)
pspell_check — V�rifie un mot
Description
bool pspell_check
( int $dictionary_link
, string $word
)
pspell_check() v�rifie l'orthographe d'un mot.
Liste de param�tres
- dictionary_link
-
- word
-
Le mot test�.
Valeurs de retour
Retourne TRUE si l'orthographe est correcte, FALSE sinon.
Exemples
Exemple #1 Exemple avec pspell_check()
<?php
$pspell_link = pspell_new ("fr");
if (pspell_check($pspell_link, "testt")) {
echo 'L\'orthographe est exacte';
} else {
echo 'D�sol�, mauvaise orthographe';
}
?>