Re: HTML vs. PHP
| From: | Greg Donald | Date: | Fri, 18 Aug 2000 01:33:40 +0000 |
| Subject: | Re: HTML vs. PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12388@lists.php.net to get a copy of this message | ||
On Thu, 17 Aug 2000, 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?
The real question is do you enjoy escaping quotes or not? It can really
get wierd on ya doing onmouseovers and such.
From the php home page I quote: PHP is a server-side, cross-platform, HTML
embedded scripting language. I believe they intended us to inlcude
"PHP" in our "HTML", rather than the the other way around. However I have
a number of scripts that have no HTML in them at all...
Greg
--
------------------------------------------------------------------------
destiney - (des-ti-ny) - n. 1. deity of all things "html", 2. common
internet addict, 3. lover of late 80's heavy metal music, 4. Activist
for the terminally un-elite; see also - cool guy, des, mr. php...
It's 4:00am, your web site is still up, why are you?
http://destiney.com/
------------------------------------------------------------------------