Re: [PHP-WIN] Include Question!

2008-05-09 Thread Stut
On 9 May 2008, at 18:56, Bradley Stahl wrote: Your code would essentially be "inserted" in the place where your include statement is called. Let's say that your in 'page.php' you had the following code: echo "I AM IN PAGE.PHP!"; and then in your script you have your code: if (some variable)

Re: [PHP-WIN] Include Question!

2008-05-09 Thread Bradley Stahl
Your code would essentially be "inserted" in the place where your include statement is called. Let's say that your in 'page.php' you had the following code: echo "I AM IN PAGE.PHP!"; and then in your script you have your code: if (some variable) { include('page.php'); } This would essenti

Re: [PHP-WIN] Include Question!

2008-05-09 Thread awkenney
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 <[EMAIL PROTECTED]> Date: Fri, 09 May 200