- Add a snippet to display errors in php