Fixed some basic php mistakes in the code.
Merge pull request #2 from shipleyr/bugfix/basic-php-mistakes

Fixed some basic php mistakes in the code.