HTML w/ PHP

added and debugged try/catch