php3-list | 200003

Re: [PHP3] trying dynamic build From: Rene H. Larsen (rhl <email protected>)
Date: 03/31/00

Nikolai Vladychevski <niko <email protected>> writes:

> i am trying to migrate to dynamic build of my web, so I was thinking
> to separate the parts of the html that perform single function into
> separte files , for example i have this file, called
> error-template.php3:
>
> <html><body>
> <b>Error: <? echo $errortext ?><b><br>
> </body></html>
>
> This will display diferent error message after processing it, but
> the problem is how to process? I was trying the function
> fpassthru() but it does not evaluate the code so

It sounds like the `include' language construct is what you're looking
for. See <http://www.php.net/manual/function.include.php>.

-- 
Echelon bait:
class struggle Clinton Khaddafi Saddam Hussein Watergate BATF
supercomputer COSCO ammunition constitution spy radar Ortega security
smuggle

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>