Adding htmlentities()

Know its only a demo, but should be setting a good standard, for XSS Prevention.