Quote:
Originally Posted by webmasterneo Big Vern and Smaaz both said it. If you want to insert the contents of another file into the PHP file you're editing, use either Code: include("path/to/file");
or Code: require("path/to/file");
The only difference is that when you use "require" and the file being called isn't there or cannot be loaded, the whole page will not render. Whereas in include, there'll just be nothing where that inserted file should be. |
you mean, include or require function are same. but a little bit difference is there. we can use anyone anytime.