Updating the syntax for PHP file