Either you need to learn how to use forms:
[here]
or
give your paragraph an id and use the javascript DOM to read the content of your element
[here]
You'll also need to have a database, someplace, and be able to access it. If it's on the server-side, you may need php.