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

What is the function in PHP do not return a timestamp?

0 Answers  


How come the code works, but does not for two-dimensional array of mine?

0 Answers  


What will the ?getdate() function returns in PHP?

0 Answers  


can any please tel me about "Expression Engine"

1 Answers  


Is python easier than php?

0 Answers  






What is fulltextsearch

2 Answers   A1 Technology,


How can we register the variables into a Session?

7 Answers   HCL, Star Computers, Trikon Networks,


i want simple programs in php and outputs and how to use in web developed side in php briefly explined in exmple

2 Answers  


How to delete file in php?

0 Answers  


Different between the var_dump() and print_r()?

4 Answers  


What is a null coalescing operator in php7?

0 Answers  


recurring account in PayPal payment gateway?

1 Answers   A1 Technology, HBL, HBL Power Systems, IBM,


Categories