Tracking changes of text for wiki???

Discussion in 'HTML & Website Design' started by abi, Oct 18, 2008.

  1. #1
    Hi all,

    I'm wanting to build my own wiki. Very basic.

    I know how to do all the saving to database, etc.

    What i cannot work out is how to show the changes from 1 version to another.

    Say the original text was this:

    And the following was added:

    Or certain text was removed:

    (Text show in red has been removed)
    Is there a php function that can do this??? Or would you use javascript and then just send the changes to the server with php (to keep processing down on server)

    Any ideas please!!! :p
     
    abi, Oct 18, 2008 IP