In this tutorial I will give a brief lesson on the PHP include statement.
Keep in mind that I don't practice the proper 'formatting' of code (like indenting).
It
doesn't matter, but it does make things easier for big projects.
This will include the file in the page.
Now I'll go into a deeper version of the above example.
Name this file includetest.php and put:
Now In "included.php" put:
Now upload these 2 files to your host and navitgate to:
http://www.yoursite.com/includetest.php
[Back To PHP Tutorials]