Thanks guys. That's answered my question for me.
Speed is more important to me than anything as I'll be retrieving a heck of
a lot of data for the users to view so I think I'll go with the HTML school
and keep the PHP until absolutely needed.
Thanks guys.
--
-
is there a HTML equivalent of the PHP include statement then...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all.
I just wondered if the general
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
is there a HTML equivalent of the PHP include statement then...?
No, but you can include pure HTML with include()/include_once(). Just give
the file a php extension:
include_once 'pureHTML.php';
Maybe it works with any
There is no need to use PHP to include HTML in HTML.
You could also use the HTML server-side #include-command.
Greetz,
Arnout
Torsten Roehr [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
is there a HTML
In article [EMAIL PROTECTED], Torsten Roehr wrote:
Harlequin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
is there a HTML equivalent of the PHP include statement then...?
No, but you can include pure HTML with include()/include_once(). Just give
the file a php extension:
Harlequin wrote:
Thanks guys. That's answered my question for me.
Speed is more important to me than anything as I'll be retrieving a heck of
a lot of data for the users to view so I think I'll go with the HTML school
and keep the PHP until absolutely needed.
Install turck MMCache.
Thanks guys.
I generally do all my program logic first then go to HTML. Once I start
HTML, I drop in the PHP stuff where I need it. I think, but am not sure,
that it also cuts down on processing time not having to parse out echo tags.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Harlequin wrote:
Hi all.
I just wondered if the general convention was to use entirely PHP and simply
encase HTML TAGs within that or use a mix and simply use PHP TAGs when
required.
It depends on the project, but when possible I prefer to have as much
static content as possible for better
8 matches
Mail list logo