Build a Guestbook?

I want to create a personal guest book on a website. I want people to be able to post things but still wanna be able to edit those posts if I want to. I need that text to stay there and not start from scratch every time the page loads. I know I need to use input text but I cant figure out how to build it. Any suggestions?