Escaping HTML output with PHP

Here is the php code needed to escape the variable named 'output'

htmlentities($output, ENT_QUOTES, 'UTF-8')

27 Old Gloucester Street, London, WC1N 3AX - Tel: 020 7112 8799 - Fax: 020 7112 8558
Copyright © XYZ Directories - All Rights Reserved