0
How does include statement work?
4 Respostas
+ 1
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
+ 1
it attach an existing file
0
Its very easy. in the top of your document you should add this code: <?php include "yourfile.php"?> enjoy.
0
the include is statement can also be added anywhere in your html code