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 purpose of basename() function in PHP?
How do I escape data before storing it into the database?
Is jquery better than javascript?
What is advanced php programming?
What is laravel php?
What are the advantages of object-oriented programming in php?
What is the purpose of php?
Is laravel frontend or backend?
What is a simple php method to make a cross domain data request?
What is form action php?
Which is better mysql or sql?
What good is polymorphism?
What does it mean when it says the csrf token is invalid?
How can cross site request forgery csrf be prevented?
What are the rules in creating php variable?