View Single Post
  #5 (permalink)  
Old 07-14-2008, 06:39 AM
Sakari Sakari is offline
Rookie
 
Join Date: Jul 2008
Posts: 41
Sakari is on a distinguished road
Quote:
Originally Posted by webmasterneo View Post
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.


Reply With Quote