compare html files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
playwright
Forum Newbie
Posts: 20
Joined: Wed Jun 02, 2010 6:11 pm

compare html files

Post by playwright »

Does anyone know if i can compare two html files? I want to use this statement to stop a do - while loop.
For example i' m trying this one

Code: Select all

do{
...
}while ($html1!=$html2);
but it seems it never ends...
Any ideas???
Last edited by Benjamin on Sat Jun 05, 2010 3:48 pm, edited 1 time in total.
Reason: Added [syntax=php] tags.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: compare html files

Post by Jonah Bron »

Post Reply