aspell_check() checks the spelling of a word.
The dictionnary link identifier returned by aspell_new().
The tested word.
Returns TRUE if the spelling is correct, FALSE if not.
TRUE
FALSE
<?php $aspell_link = aspell_new("english"); if (aspell_check($aspell_link, "testt")) { echo "This is a valid spelling"; } else { echo "Sorry, wrong spelling"; }?>