How does include statement work?
include statement helps you to include php script from other file (say "your_file.php"). if no such file is found then it shows error but still runs other codes whereas if you use require then the page dies if the file is not found. i hope this helps you
it attach an existing file
Its very easy. in the top of your document you should add this code: <?php include "yourfile.php"?> enjoy.
the include is statement can also be added anywhere in your html code