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 do{ ... }while ($html1!=$html2); but it seems it never ends... Any ideas???
Why dont you just use a while statement instead of a do-while. I dont understand your question though, what aspect of the site are you trying to compare and what results are you looking for? if($html1 == $html2){ echo 'same'; } // ??? Explain your post some more and I might be able to help a little better, but a break; will just break outta the statement, which if you are doing that you need to know when to break out. - Scripteen.com