Re: Include Question!
| From: | awkenney at gmail dot com | Date: | Fri, 09 May 2008 17:55:44 +0000 |
| Subject: | Re: Include Question! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28881@lists.php.net to get a copy of this message | ||
What is it that you are trying to accomplish? Normally no if statement is needed for an include to
take place unless a certain condition triggers the use of the include.
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: Matthew Gonzales <matt323@uga.edu>
Date: Fri, 09 May 2008 13:49:07
To:PHP-Windows Group <php-windows@lists.php.net>
Subject: [PHP-WIN] Include Question!
So I am really cornfused about the include function.
If I use the include function to make my code readable and neat where
does the included code go. For instance:
if (some variable){
include(page.php);
}
Does the code go into the current page where the include statement is
located on the page. Hope that makes sense.
Matt G
--
Matthew Gonzales
IT Professional Specialist
Enterprise Information Technology Services
University of Georgia
Email: matt323@uga.edu <mailto:matt323@uga.edu>
Phone: (706)542-9538
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php