note 64088 added to language.control-structures
| From: | navydep20060606 at yahoo dot com | Date: | Fri, 07 Apr 2006 07:58:19 +0000 |
| Subject: | note 64088 added to language.control-structures | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107495@lists.php.net to get a copy of this message | ||
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...
----
Server IP: 66.163.161.117
Probable Submitter: 70.153.139.193
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.control-structures.php
Edit -- http://master.php.net/note/edit/64088
Del: integrated -- http://master.php.net/note/delete/64088/integrated
Del: useless -- http://master.php.net/note/delete/64088/useless
Del: bad code -- http://master.php.net/note/delete/64088/bad+code
Del: spam -- http://master.php.net/note/delete/64088/spam
Del: non-english -- http://master.php.net/note/delete/64088/non-english
Del: in docs -- http://master.php.net/note/delete/64088/in+docs
Del: other reasons-- http://master.php.net/note/delete/64088
Reject -- http://master.php.net/note/reject/64088
Search -- http://master.php.net/manage/user-notes.php