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
How to check a variable is array or not in php?
Tell me what is pear?
Define anonymous classes in php7?
Can I run php without xampp?
What is the different between count() and sizeof() in php?
What is php written in?
How can I prevent sql-injection in php?
How does the identity operator ===compare two values in PHP?
What is sorting php?
Php being an open source is there any support available to it?
How can MYSQL functions be available with PHP?
Tell me what is the importance of "action" attribute in a html form?
What is overloading and overriding in php?
How to run the interactive php shell from the command line interface?
What is the content of /etc directory?