$pspell_link = pspell_new ("en"); if (pspell_check ($pspell_link, "testt")) {echo "This is a valid spelling";} else {echo "Sorry, wrong spelling";}
?php $pspell_link = pspell_new ("french"); if (pspell_check ($pspell_link, "testt")) {echo "L'orthographe est exacte";} else {echo "Désolé, mauvaise orthographe";}?