You validate the output of your scripts, not the scripts themselves.geeza said:One of the criteria for my assignment is to have validated web pages. Neally all of my pages are php though. Is there a way to validate php files through W3schools? (pages contain php, xhtml, css and a very samll amount of dhtml)
Mickey said:You validate the output of your scripts, not the scripts themselves.
geeza said:are right, thanks. How would I go about doing this? I have pages for things like allowing customers to register, login and view/sort products. Also admin pages for editing and adding products which 'customers' can then view
Or you could just install the validator extensionsLazyManc said:For those using the Firefox web developer toolbar (and if you're not, why not!?), there's a handy shortcut (ctrl+shift+a) which will send your generated code to the validator.