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
Tell me what are the correct and the most two common way to start and finish a php block of code?
What is inheritance in php with example?
What’s the special meaning of __sleep and __wakeup?
List functions available to sort an php array?
explain php variable length argument function.
What is the use of isset() in php?
What is the php function that removes the first element of the array and returns it?
What is the use of "enctype" attribute in a html form?
What does trim () do in javascript?
What is mvc php?
How you can update memcached when you make changes to php?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
How to merge values of two arrays into a single array?
What is the difference between Session and Cookie?
What is string and its function?