Whats the difference between include() and require()?
Answer Posted / shanawar
Both used for connecting to the database. but the main
difference b/w them if we r using include()and the file is
not found then a warring will be occure and script will be
execute.. But in the case of require() a error will occure
and script will be helt........................ Shanawar
| Is This Answer Correct ? | 1 Yes | 12 No |
Post New Answer View All Answers
What is the use of is_array() and in_array()?
Is laravel an oop?
What is the use of array_search() in php?
Tell me whether it is possible to share a single instance of a memcache between multiple php projects?
Why laravel is best php framework?
/temp is a type of filesystem directory. State Whether True or False?
How can you send email in php?
How can we submit from without a submit button?
Difference between array_combine and array_merge?
Suppose your zend engine supports the mode Then how can you configure your php zend engine to support Mode ?
What is the output of the ucwords function in this example?
How to compare two strings with comparison operators in php?
which will print out the php call stack?
Why print_r is used in php?
Explain what does $_server means?