i referred a site which said that using the include() we can include code of another page into the current page
But i am not getting the output as they showed.
this is my code
<html>
<head>
<style type="text/CSS">
body
{
background-color:#696565;
font-style:italic;
}
h1
{
color: green;
text-decoration:underline;
font-style:italic;
text-shadow:2px 2px #FAF8CC;
}
</style>
<title>
home page
</title>
</head>
<body>
<h1> <center> Get to know something </center> </h1>
<?php
include("include.php");
echo "hello";
?>
</body>
</html>
and the code for include.php is
<html>
<head>
<style type="text/css">
a:link
{
color:red;
text-decoration:none;
}
a:visited
{
text-decoration:none;
color:red;
}
a:hover
{
color:brown;
text-decoration:underlined;
background-color:#FF8247;
}
</style>
</head>
<body>
<table border=1 cellspacing=0 align ="center" >
<tr>
<td><a href=""> <b>home</b> </a></td>
<td><a href=""> <b>about us</b> </a></td>
<td><a href=""> <b>info</b> </a></td>
<td><a href=""> <b>login</b> </a></td>
</tr>
</table>
</body>
</html>
and what is got as output didnt contain the include.php file
can anyone help me please
thanks in advance