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
When do you use define() and when do you use const. What are the main differences between those two?
Tell me how to initiate a session in php?
Does https prevent csrf?
Tell us why did you choose this particular career path?
What type of language is php?
Explain Booleans in PHP?
How to join multiple strings into a single string?
what the new feature add in php 7.2?
What are php parameters?
What are soundex() and metaphone() functions in php?
Explain some of the php array functions?
Which functions are used to remove whitespaces from the string?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
Which software is used to run php programs?
What is pdo classes?