PHP Tution
Sunday, March 9, 2014
PHP include..
With include statement we can import reusable code and reuse it.
Example :
1.php
<?php
print "Starting 2 -->";
include '2.php';
print " <--Finishing 2";
?>
2.php
<?php
echo " <h1>Hello World</h1> ";
?>
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment