I generally like to write separate library files containing most of the
code, store them outside of the web directory, include the necessary
libraries and then just insert function calls where I need them in the html.
From: [EMAIL PROTECTED] (Seb Frost)
Newsgroups: php.general
Date: Tue, 21
From: [EMAIL PROTECTED] (Seb Frost)
Newsgroups: php.general
Date: Tue, 21 Aug 2001 20:10:38 +0100
To: [EMAIL PROTECTED]
Subject: To jump or not to jump?
Is it good practice (sp?) to jump in and out of php whenever you've got some
plain html to write, or should one write an entire
Jump out for anything more than three lines of pure HTML.
Your HTML will be much easier to read.
Speed-wise, it just doesn't matter, unless you intentionally alternate
back-and-forth every other line... Even then, the difference is negligible.
--
WARNING [EMAIL PROTECTED] address is an
PROTECTED]
Subject: Re: [PHP] Re: To jump or not to jump?
From: [EMAIL PROTECTED] (Seb Frost)
Newsgroups: php.general
Date: Tue, 21 Aug 2001 20:10:38 +0100
To: [EMAIL PROTECTED]
Subject: To jump or not to jump?
Is it good practice (sp?) to jump in and out of php whenever you've got
4 matches
Mail list logo