Re: [PHP] Re: PHP and HTML Conventions

2004-07-13 Thread raditha dissanayake
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.

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Tim Van Wassenhove
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 exten

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Arnout Boks
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 HT

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Torsten Roehr
"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 ext

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Harlequin
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

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Harlequin
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. -- - Micha

[PHP] Re: PHP and HTML Conventions

2004-07-12 Thread Jason Barnett
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 perfor

[PHP] Re: PHP and HTML Conventions

2004-07-12 Thread Steve Douville
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: ht