Explain about require and include function?
Answer / Deepak Modiyani
In PHP, `require` and `include` are functions used to include a file into another file. The main difference between them is that if an error occurs while executing a file included with the `include` statement, the script continues execution (though it may not work correctly due to the error), while if an error occurs with the `require` function, the script stops and displays an error message.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to remove leading and trailing spaces from user input values in php?
how we can upload and view video files
What is php how it works?
What is difference between get and post in php?
What are the special characters you need to escape in single-quoted stings?
What is the difference between InnoDb tables and MyIsam Tables in php
what is PHP accelerator ?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
What is framework in php?
How to stop the execution of php script?
How to check curl is enabled or not in PHP
What exactly is PHP?