How can I use PHP and MySQL to keep track of changes to a document?

Wes B

New member
I'm creating a knowledgebase website that will function somewhat like a wiki in that multiple people will be able to create/edit articles. Is there a good way to track the revisions that each person makes to the article using PHP and MySQL? I would like the ability to somehow show what data was added and/or removed from the article.
I think I can get the db tables figured out, but my main concern is how can php tell what was added or removed from the original document? Is there a way to compare the before with the after?
 
Back
Top