Sample Code

# PHP Source Code	
require "phpspellcheck/include.php"   
$spellcheckObject = new PHPSpellCheck();
$spellcheckObject -> LicenceKey = "TRIAL";
$spellcheckObject -> DictionaryPath = ("phpspellcheck/dictionaries/");
$spellcheckObject -> LoadDictionary("English (International)") ;
$spellcheckObject -> LoadCustomDictionary("custom.txt");
echo $spellcheckObject ->didYouMean("Any variabe or STring");
[ javascript alternative ]

Did You Mean.... SpellCheck Search Results