0

Possible Duplicate:
How to do text DIFF using PHP?

So I've got two texts to show up side by side, but I need to have it compare the two. Have a strikeout for all deleted words, an underlining for all added ones, that sort of thing. And it can't be too complicated because I need to do this for three text files in the same php file. Any ideas?

Community
  • 1
  • 1
Elizabeth
  • 173
  • 3
  • 14

1 Answers1

0

Please have a look here http://www.weberdev.com/get_example.php3?ExampleID=4323 Additionally, this PEAR package may be of interested to you, however it's not maintained anymore: http://pear.php.net/package/Text_Diff/

Pateman
  • 2,727
  • 3
  • 28
  • 43