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
09 May 2008 13:49:07 To:PHP-Windows Group 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 c

[PHP-WIN] Include Question!

2008-05-09 Thread Matthew Gonzales
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 pa