There are quite a few ways to achieve this and a "template" is detail for later. Templates are a tool for putting info on a page and an excellent way to separate logic from the "presentation layer".
Before then you have to decide
It is totally feasible to create a login section to the site where the owner goes to add info into the database - in plain text.
the users then see what has been entered but placed within an html page.
Check out some of the other postings for info on random selection.
Check out classes and tutorials for managing the database.
Check out tutorials for info on sessions and forms.
good luck