What are the differences between require and include,
include_once?
Answer Posted / tina
require - including a file/page ,if file doesn't exist,then
it gives error and doesn't execute.
include-including a file/page,if file doesn't exit,then it
gives warning and begin to execute.
include_once-including file/page, if it didn't been already
included,it includes else it won't.
| Is This Answer Correct ? | 41 Yes | 3 No |
Post New Answer View All Answers
What is cookies php?
What is php how it works?
What is "echo" in php?
Is there an easy way to delete an element from a php array?
What is a closure in php?
Is rent a variable cost?
How to include a file code in different files in php?
What is static method php?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
Tell me how to set a page as a home page in a php based site?
What is call by reference in php?
How to write a program to make chess?
What function do we use to find length of string, and length of array?
Which function is used in php to delete a file?
What is the default time in seconds for which session data is considered valid?