PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Jul 14, 2020 3:41 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 24, 2012 4:44 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US
Can you explain what you mean by "connect"?

_________________
(#10850)


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 2:26 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US
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:
Syntax: [ Download ] [ Hide ]
<p>Another page.</p>

master_page.php:
Syntax: [ Download ] [ Hide ]
<html>
<body>
<h1>Master Page</h1>
<?php
include 'another_page.php';
?>
</body>
</html>

_________________
(#10850)


Top
 Profile  
 
PostPosted: Fri Jan 27, 2012 6:02 am 
Offline
Forum Newbie

Joined: Fri Jan 27, 2012 5:53 am
Posts: 1
Hey mate thanks a lot for your valuable information ....It will be useful for me..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group