php new content, php help please |
php new content, php help please |
![]()
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:]]] |
|
|
![]() |
![]()
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") ?> |
|
|
![]() ![]() |