Footer file contains only the closing HTML tags and database closing function.
</div>
</div>
</body>
</html>
<?php mysql_close($conn); ?>
we include this footer.php file in to other pages using php include() function. Following demonstrate hot to do this.
In every other page start with header and footer included at the top and bottom of the page.
<?php include('header.php'); ?>
<!-- Page contents goes here -->
<?php include('footer.php'); ?>
The final output of the page is a complete web page with opening and closing HTML tags and other scripts.
0 comments:
Post a Comment