usi htmlentities() per salavare
e poi stampi (su pagina) normalmente....