Refactored feedback.php to be PHP