1. Find this line:
$strName = "Simon Stobart";
And replace with this two lines:
$strName = $_POST['strName'];
$strCount = strlen($strName);
2. Find this line (placed twice: on line 4 and 8):
for ($intLetter=0;$intLetter<13;$intLetter++…
And replace each with this:
for ($intLetter = 0...