Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

aspell_check

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

aspell_check -- Controlla una parola [deprecated]

Descrizione

bool aspell_check ( int link_dizionario, string parola)

aspell_check() controlla la compitazione di una parola e restituisce TRUE se è corretta, FALSE altrimenti.

Esempio 1. aspell_check()

<?php

$aspell_link
= aspell_new("italiano");

if (
aspell_check($aspell_link, "provva")) {
    echo
"La parola &egrave; corretta";
} else {
    echo
"Spiacente, parola non corretta";
}

?>

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Manuale PHP". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.