PHP Syntax Errors

Corrected various PHP syntax errors.