Page 1 of 1

Re: How can I connect master page to another page ?

Posted: Tue Jan 24, 2012 3:44 am
by Christopher
Can you explain what you mean by "connect"?

Re: How can I connect master page to another page ?

Posted: Wed Jan 25, 2012 1:26 am
by Christopher
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:

Code: Select all

<p>Another page.</p>
master_page.php:

Code: Select all

<html>
<body>
<h1>Master Page</h1>
<?php
include 'another_page.php';
?>
</body>
</html>

Re: How can I connect master page to another page ?

Posted: Fri Jan 27, 2012 5:02 am
by reena_lucknow
Hey mate thanks a lot for your valuable information ....It will be useful for me..