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 best practice for running mysql queries in php? Consider the risk of sql injection.
How to store the uploaded file to the final location?
Can I write php code in html file?
write a note on Testing the web site
How to create and destroy cookies in php?
Is age nominal or ordinal?
Why we use get in php?
Is age interval or ordinal?
What is the importance of "method" attribute in a html form?
What is the use of final class in php?
Do you know what is php?
Does exist in php?
What is php and sql used for?
How do you use end in python?
What new features php7 has in store for us?