Warning: Undefined array key "userInput" in /home/zcrawford/public_html/Classwork/PHPMYSQL/ChapterTwo/StringManipulatorCountWords.php on line 3

Warning: Undefined variable $totalCount in /home/zcrawford/public_html/Classwork/PHPMYSQL/ChapterTwo/StringManipulatorCountWords.php on line 6

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/zcrawford/public_html/Classwork/PHPMYSQL/ChapterTwo/StringManipulatorCountWords.php on line 8

Warning: Undefined variable $printString in /home/zcrawford/public_html/Classwork/PHPMYSQL/ChapterTwo/StringManipulatorCountWords.php on line 12
Count the words in the string
There are 1 words in the string.
Your list of words: