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 does the expression exception::__tostring means?

0 Answers  


Do you know how can php and html interact?

0 Answers  


List out some tools through which we can draw E-R diagrams for mysql?

6 Answers  


Do you know what is the function func_num_args() used for?

0 Answers  


Define about declare construct?

0 Answers  






Define object-oriented methodology?

0 Answers  


What is the difference between InnoDb tables and MyIsam Tables in php

1 Answers  


What is trim function in php?

0 Answers  


How a constant is defined in a php script?

0 Answers  


How to redirect a page in php?

0 Answers  


What is the empty function?

0 Answers  


how to hidden querystring url please send sample program

2 Answers  


Categories