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 api example?

0 Answers  


What are php magic methods?

0 Answers  


What is oops php?

0 Answers  


Why many companies are switching their current business language to php?

0 Answers  


What is include in php?

0 Answers  






What is the static variable in function useful for?

0 Answers  


What is php date function?

0 Answers  


How do you format and output a number with leading zero's?

3 Answers  


What is varchar mysql?

0 Answers  


What is the difference between the functions unlink and unset?

8 Answers   Small Firm, TCS,


List functions available to sort an php array?

0 Answers  


Tell me what is the use of explode() function?

0 Answers  


Categories