Easy code to compare two texts from the database
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/736771/how-to-do-text-diff-using-php">How to do text DIFF using PHP?</a>  </p>
</blockquote>



<p>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?</p>
