A Question About Embedding HTML In PHP

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-04-17T02:39:28Z Indexed on 2010/04/17 2:43 UTC
Read the original article Hit count: 304

Filed under:
|
|

Hello all

Some time ago I read a posting on a board where the person was talking poorly about people that have HTML embedded/within their PHP. I do quite a bit of PHP development but I still interleave HTML and PHP in the same document. Is there a better way to do this, am I doing it wrong? I know that in JSP/JSF they use an XML document with namespaces to insert their HTML code so I was wondering if there was a similar function that PHP uses that I should be taking advantage of.

Thanks for taking the time to read. :-)

© Stack Overflow or respective owner

Related posts about php

Related posts about html