how to include external php file in to html page?
Answer Posted / pravi
Only .php extension files can be added by the following
syntax.
include("filename.php");
require("filename.php");
include_once("filename.php");
require_once("filename.php");
The only difference between the include and require is the
error handling.
Include - just gives warning errors
Require - gives fatal errors
| Is This Answer Correct ? | 25 Yes | 10 No |
Post New Answer View All Answers
Why post method is used in php?
Why do we show php code in browser?
What are the differences between echo and print?
How is it possible to parse a configuration file?
Tell me when a conditional statement is ended with an endif?
What are interfaces in php?
Explain about the $_GET variable of PHP?
How to find the position of the first occurrence of a substring in a string?
What is str_replace()?
Can you explain, when to use if-else if-else over switch statements?
What is the apache?
Explain how is it possible to cast types in php?
Which is the latest version of php?
Is null in php?
Will a comparison of an integer 12 and a string "13" work in php?