Rapide Advanced Adulte
 
 Web|Image|Shop|Video|News|Wmx|Mobile|Wiki|Ajouter ce moteur

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.aspell check raw
.aspell check
.aspell new
.aspell suggest
 
   

  aspell_check  


aspell_check

(PHP 3 >= 3.0.7, PHP 4 <= 4.2.3)

aspell_check -- Vérifie un mot [Obsolète]

Description

bool aspell_check ( int dictionary_link, string word )

aspell_check() vérifie l'orthographe d'un mot.

Liste de paramètres

dictionary_link

L'identifiant du lien vers le dictionnaire retourné par la fonction aspell_new().

word

Le mot testé.

Valeurs de retour

Retourne TRUE si l'orthographe est correct, FALSE sinon.

Exemples

Exemple 1. Exemple avec aspell_check()

<?php

$aspell_link
= aspell_new("english");

if (
aspell_check($aspell_link, "testt")) {
    echo
"L'orthographe est correct";
} else {
    echo
"Désolé, l'orthographe est incorrect";
}

?>

Voir aussi

aspell_check_raw()


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur
.