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

Posted by Domestos on 05/18/06 01:10

Hi all,

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?

--
Thanks,
Domestos
--------------------------------------------------------
'Why can't you make another word using all the letters in "anagram" ? '

 

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

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