Php file inclusion.

PHP provides two function for file inclusion.


  1. include.
  2. require.

include().


Include take all text from file and it copies into the file that uses the include function.if there is problem of loading a file then include generate a warning but script run.



require().



Include take all text from file and it copies into the file that uses the include function.if there is problem of loading a file then reqiure function generates falt error and halt the execution of script.

Popular posts from this blog

Simple Sign up design. Android.

Cart page design in android.

Set Date on jDateChooser and retrieve record from database.