<b>this is a text</b>
<?
echo "<html>";
include 'res.html';
echo "</html>";
?>
<html><b>this is a text</b></html>
<?
$color = 'green';
$fruit = 'apple';
?>
<?
echo "A $color $fruit"; // outputs "A "
include 'vars.php';
echo "A $color $fruit"; // outputs "A green apple"
?> More Tutorials on roseindia.net for the topic PHP Introduction to PHP Include and require Tutorial, PHP include and require.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.