Re: HTML if no PHP
| From: | John Nichel | Date: | Tue, 04 Feb 2003 17:38:36 +0000 |
| Subject: | Re: HTML if no PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134301@lists.php.net to get a copy of this message | ||
if ( !@include ( "myfile.php" ) ) {
// do this if file cannot be included
...code...
...code...
}
Bob Lockie wrote:
I want to display an HTML page if PHP can't load an include file or otherwise has an error or just doesn't work. How do I do this?