You can insert the content of one PHP file into another PHP file before the server executes it, with the include() or require() function.
The two functions are identical in every way, except how they handle errors:
include() generates a warning, but the script will continue execution
require() generates a fatal error, and the script will stop
Software. Consulting. Business Solution. Application Development. Information Technology
Sunday, August 28, 2016
Subscribe to:
Posts (Atom)
What Makes A Software Programmer a Professional? - CodeProject
Summary article written by Rob Kraft in https://www.codeproject.com/Articles/5129182/What-Makes-A-Software-Programmer-a-Professiona...
-
These keyboard shortcuts are helpful. Some of them are not document in Visual Studio 2010 Express, for example: <Ctrl> F5 to run the ...
-
What is a view? A view can be thought of as either a virtual table or a stored query. The data accessible through a view is not stored in th...
-
It’s fun to check my email account recent activity. Here is the fun. Someone attempted to log in to my account from other countries. It is g...