Forum Moderators: phranque
Which is the best way to work php files through the W3c validator?
What I have done for a few files is that I have viewed the source and what I got was the resultant Html. Now I copied this and pasted in the validator's submit box.
The problem is I cannot open certain files from the browser, and so I cannot get the html code.
So how do you guys turn the mixture of php code and html code in the php file to pure html/xhtml?
There is an option "clean up html" which is quite interesting. But how can one know what changes the firefox html validator has made?
Things become complicated because the html code from all the "include" files is also displayed there.
Is there any way to track the changes made?