Russian Ukraine English
Catalog RSS


aspell_check

(PHP 3>= 3.0.7, PHP 4 )

aspell_check -- Check a word

Description

boolean aspell_check (int dictionary_link, string word)

Aspell_check() checks the spelling of a word and returns true if the spelling is correct, false if not.

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"; }       

Led