Log In · Register

 
php new content, php help please
synatribe
post Feb 9 2008, 05:49 AM
Post #1


AIDS at RAVES.
******

Group: Official Designer
Posts: 2,386
Joined: Dec 2007
Member No: 598,878



i'll try to be as descriptive as possible if i get confusing please pm me
okay so I made a template but because it was html, i made a new php file for my html so when I appilied to all my pages the navigation was fine but the content are all the same because in my html document the div tag for content is included in it, I was thinking about strings but Im not sure how it would work with my php, please help me:]]]
 
 
Start new topic
Replies
pandora
post Feb 9 2008, 05:39 PM
Post #2


i did your boyfriend
*******

Group: Official Designer
Posts: 3,335
Joined: Feb 2004
Member No: 4,071



it doesnt make sense to have another include for the body...

you're just wasting space at that point because you would have to make two new files for every page. one for the includes, and one for a new body.


just do:

CODE
<?php include("abovebody.php") ?>

PUT YOUR BODY CONTENT HERE
BLAH BLAH
BLAH BLAH
BLAH

<?php include("belowbody.php") ?>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: