Re: HTML vs. PHP
| From: | Joseph H Blythe | Date: | Thu, 17 Aug 2000 23:57:32 +0000 |
| Subject: | Re: HTML vs. PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12383@lists.php.net to get a copy of this message | ||
"Martin A. Marques" wrote:
> Simple question.
> What is better, to write everything inside the php tags using echo to
> send strings to the browser, or write almost all in plain HTML code and
> add alot of little php codes in the parts where they are needed?
>
Hey,
I would personally recommend the later as why make php parse the whole
document as this would have to be slower. This is also very useful if you
use visual editors such as dreamweaver where you will still be able to edit
your tables etc...
Just my 2 cents worth.
Regards
Joseph Blythe