Just to clarify when i say diary i mean an appointments diary so that i can have a 12 month dairy where either users can update appointment times. Is your recommendation still relevant.
The best way to do it would be to use a database. However, designing and building a database can be difficult for someone with little database experience.