You are here: Re: Embedding the entire HTML within PHP « All PHP « IT news, forums, messages
Re: Embedding the entire HTML within PHP

Posted by robert on 05/18/06 01:30

| I am currently writing pages that are pure PHP. i.e. they begin with the
| <?php symbol.
|
| I am embedding all the HTML within echo ' ' commands even the <HTML>
<HEAD>
| and <BODY> tags
|
| i..e.
|
| <?php
| echo '<HTML><HEAD><TITLE>Title</TITLE></HEAD><BODY></BODY></HTML>';
| ?>
|
| Is this the right way to do things? or should I be embedding PHP into the
| HTML page?

six-one-half-a-dozen-the-other. as long as you format your code and comment
when necissary, i don't think anyone will beat you up for whichever method
you take.

btw, what is "pure" PHP? lol.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация