![]() | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
PHP Includes
This tutorial shows you the command to use to include anything on a php file. For more examples see my skinning tutorial.
Ok, this works if the file you want to include is located in the same directory as the page you are including it from. If the file is in a different directory, you will have to change that code a bit.
Using the path makes sure that no matter where the file you wish to include is located and no matter where the file you are including it into is located, it will always find it correctly. For more on finding the path, see my absolute path tutorial.
| |||||||||