PHP MYSQL LESSON 9(Part 1) INCLUDE AND REQUIRE IN PHP.mp4

  • Share
    Share Video

  • Add
  • More
    Report this video as:
0 0
You have already voted for this video.
The include() and require() statement allow you to include the code contained in a PHP file within another ...
The include() and require() statement allow you to include the code contained in a PHP file within another PHP file. Including a file produces the same result as copying the script from the file specified and pasted into the location where it is called. You can save a lot of time and work through including files — Just store a block of code in a seperate file and include it whereever you want by include() and require() statement instead of typing the entire block of code multiple times. A typicall example is including the header, footer and menu file in all the pages of a website.
Related