Personally, I believe this is one of the strong argumens for XHTML. PHP is very sloppy, and when you combine that with another sloppy language, HTML, the mess is tremendos. For small projects and new people it's not much of an issue, but try to maintain a large codebase without it being incredibly buggy.
Using XHTML forces you towards good practices, something that is good to do from the begining before you develop those bad habits. I don't know who was objecting to using XHTML, but IMHO it will interfere with you learning of PHP less than HTML because it will force you to know what your doing, which is the point of learning. XHTML is a beautiful thing. I use it every day with my PHP applications. I just can't wait till SVG gets some support. Alan Trick Roberto Gorjão wrote: .... > Anyway, I noticed that many of you use XHTML and I sure was beginning to > enjoy using it myself, and it seemed to me a good way to practice for > the inevitable future… is it? I mean: a good way to practice, as I > believe that XML is the inevitable future… I’m initiating now my study > on PHP and MySQL and I read some objections about using XHTML with PHP… > Will XHTML interfere with my learning of PHP? Would it be a good idea to > stick with good old plain HTML? > > Obrigado! > Roberto ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************