quote made into a static function call
Conditional was missing a quote mechanism on the value
Changed DB quote to static call
Removed commented code
Merge branch 'master' of github.com:AppStateESS/phpwebsite