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 php and its features?
What does the unset() function means?
Does php have block scope?
Why does sql injection happen?
How are cookies created?
What is rtrim php?
What is abstraction php?
What does nan stand for computer science?
What is difference between array_merge and array_combine?
How do I escape data before storing it into the database?
Tell me is it possible to protect special characters in a query string?
What is a php certification?
What are access specifiers?
What is use of htmlspecialchars php?
List some features of php that are deprecated in php