Re: HTML vs. PHP

From: Date: Thu, 17 Aug 2000 16:02:20 +0000
Subject: Re: HTML vs. PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12251@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? One simple reason: if every page written in php include a single php file that draws every page, you can change the entire deisgn of the site by modifing a single file. Another reason: I usually create pages both in Romanian and English. Is simplier to have a page like page.php?lang=ro (or lang=en) that display the body in Romanian or English than have two pages with the same design architecture. Ave, Socrate -- Radu Filip Network Administrator @CCTI | tuiasi.ro radu@tuiasi.ro ccti@tuiasi.ro http://socrate.tuiasi.ro/ http://www.ccti.tuiasi.ro/

« previous php.general (#12251) next »