note 64088 deleted from language.control-structures by bjori
| From: | bjori@php.net | Date: | Wed, 26 Apr 2006 15:39:58 +0000 |
| Subject: | note 64088 deleted from language.control-structures by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109752@lists.php.net to get a copy of this message | ||
Note Submitter: navydep20060606 at yahoo dot com
----
I was looking everywhere for this, but I can't find it anywhere...
I'm working on a site that has a header and footer file include, and the way I have it set up,
well... it's irrelevant to the question...
The point is, I was wondering if there was a way to start a structure on the header file include...
and end it with a else statement on the footer... that way it runs through and if a variable is
true, then it continues... if not... then it calls the else statement attached to it in the
footer...
Maybe some functions? Basically... i'm trying to control the main file include from the header
file... but it's looking like to me... that i'll just have to wrap another if statement
around the main files content between the includes...