What is the difference between include and include_once ?
Which is one is good in terms of performance ?
Answer Posted / abhishek dilliwal
u may include a single file several times by using
include() but by using include_once() its ensured tht the
specific file would be included only once no matter how
many times u wrote it ;)
-Abhishek Dilliwal
http://abhishek.x10hosting.com
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How to create connection in php?
What does echo mean in php?
How to find current date and time?
What is putenv?
How values in arrays are indexed?
What is the use of trim in php?
How does api connect to database?
What is php form validation?
When sessions ends?
What is the use of stripslashes in php?
Which function can be used to delete a file?
explain php variable length argument function.
Can you specify the "new line" character in single-quoted strings?
How to download files from an external server with code in php?
What is the role of php?