How can I validate that the html I created using php is valid (i.e. all of the tables row tag are properly closed with )?
Use the HTML Validation Service provided by W3C (World Wide Web Consortium). It is free service that checks documents like HTML and XHTML for conformance to W3C Recommendations and other standards. The service is an online tool where you provide the validator your web page address, and it reports back to you its findings. It’s available at: http://validator.w3.