how to add file in php?



how to add file in php?..

Answer / phpdev

By using include() and require() functions we can add a file
in php..
include() and require() functions takes a file name and
simply inserts that file's contents into the script..

SYNTAX:include("filename");

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More PHP Interview Questions

how we can retrive data in pdf along php mysql?

2 Answers  


What is cookie and why do we use it?

0 Answers  


What library is used for pdf in php?

0 Answers  


What are the final class and final method?

0 Answers  


How many ways I can redirect a PHP page?

9 Answers   MicroSec, N-Tier Business Solutions, University Exams,


Is php an api?

0 Answers  


What is isset post?

0 Answers  


How to print \ in php. Only \ with out using . or *.

7 Answers   American Solutions,


What is a substring in php?

0 Answers  


What is the use of trim in php?

0 Answers  


What are php variables?

0 Answers  


What is isset in php form?

0 Answers  


Categories