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
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
What does namespace mean in php?
How to invoke a user function?
What are the benefits of using php and mysql?
How many ways to include variables in double-quoted strings in php?
How to reset/destroy a cookie in php?
What are PHP Magic Methods/Functions. List them.
Is empty function c++?
What is php and features of php?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
What is prepared statement in php?
How can we submit a form without using submit buttons?
What are the Formatting and Printing Strings available in PHP?
What is explode() in php?
What is php destruct?