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 string concatenation operator in php?

0 Answers  


Is there any function to find repeated value in an array? What is w2 standard

1 Answers  


How to get length of an array in PHP?

0 Answers  


What is a base url?

0 Answers  


How do you execute a php script from the command line?

0 Answers  


Why do we use hooks?

0 Answers  


How many php based companies in bangalore and chennai and over all india ? most of the persons saying for 2 years and 3 years they will be getting less than 15k per month how far is it true ? is it good scope for experience people can any one tell the exact experience pay for php developers one yr experience how much sal we expect ? two yr experience how much sal we expect ? three yr expereince how much sal we expect ? please kindly reply to the above questions as an experts you only please kindly judge and tell your practical experience in PHP ?

3 Answers  


What software is required for php?

0 Answers  


What is sorting php?

0 Answers  


What is member function?

0 Answers  


How to call javascript function in php on button click?

0 Answers  


Is it easy to learn wordpress?

0 Answers  


Categories