How can I connect master page to another page ?
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How can I connect master page to another page ?
Can you explain what you mean by "connect"?
(#10850)
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How can I connect master page to another page ?
I assume that by 'attach' you mean inserting the contents of one file into some place on your master page file. Use the PHP include() functionality.
another_page.php:
master_page.php:
another_page.php:
Code: Select all
<p>Another page.</p>Code: Select all
<html>
<body>
<h1>Master Page</h1>
<?php
include 'another_page.php';
?>
</body>
</html>(#10850)
-
reena_lucknow
- Forum Newbie
- Posts: 1
- Joined: Fri Jan 27, 2012 4:53 am
Re: How can I connect master page to another page ?
Hey mate thanks a lot for your valuable information ....It will be useful for me..