updated html & php snippets