Thanks for the replies. I have a basic script as follows:
<form action="index.php" method="post">
Enter Your Word: <input type="text" name="word" />
<input type="submit" value="Submit" />
</form>
<?php echo $_POST["word"]; ?>
As you can see I have it just outputting the word that was input. I have a PHP class that generates common misspellings from a word (in this case I want it to be the word the user is inputting to my form). I have no idea on how to get the interaction between the input word and the class. The class I am wanting to use is http://web-professor.net/scripts/typo/cTypoGenerator.txt.