Forum und email

aspell_check

(PHP 4 <= 4.2.3)

aspell_check — Comprueba una palabra[deprecated]

Descripción

boolean aspell_check ( int $dictionary_link , string $word )

aspell_check() comprueba la ortografía de una palabra, y devuelve cierto(TRUE) si la ortografía es correcta ,falso (FALSE) si no lo es .

Example#1 aspell_check

$aspell_link = aspell_new("english");

if (aspell_check($aspell_link, "testt")) {
    echo "This is a valid spelling";
} else {
    echo "Sorry, wrong spelling";
}