Re: To jump or not to jump?
| From: | Gabe da Silveira | Date: | Tue, 21 Aug 2001 20:44:33 +0000 |
| Subject: | Re: To jump or not to jump? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63768@lists.php.net to get a copy of this message | ||
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: sebfrost@icmtb.co.uk (Seb Frost)
> Newsgroups: php.general
> Date: Tue, 21 Aug 2001 20:10:38 +0100
> To: <php-general@lists.php.net>
> 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 file in php? I'm leaning
> towards the latter, unless there's a huge chunk of html code.
>
> opinions?
>
> - seb
>