Dynamic PHP Site Problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mg66
-


Joined: 15 Aug 2004
Posts: 85
Location: USA, Illinois

PostPosted: Sat Apr 02, 2005 7:20 pm    Post subject: Dynamic PHP Site Problem Reply with quote

I am very, very new to PHP and thanks to users help I have the basics up and running, which is a header and footer.

I am trying to make a dynamic PHP site. That is, I am trying to get my header up the top and footer at bottom but what I am having trouble with is to have a list of links on the left and when I click a link it opens it on the right which is the main page so to speak. To say the least I am not having much success.

In essence I am trying to get my header, footer and index sidebar to be static and when a link is clicked on the sidebar it opens it in the main area.

I dont want to get into MySQL. PHP is using enough of my old and tired brain cells at present.

Any help would be greatly appreciated.
_________________
mg66

http://sv650.metromain.net
http://photography.metromain.net
http://weather.metromain.net
http://www.metromain.net
http://www.bghi.us


Abyss Web Server X2
Back to top View user's profile Send private message Visit poster's website
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sun Apr 03, 2005 7:52 am    Post subject: Re: Dynamic PHP Site Problem Reply with quote

mg66 wrote:
I am very, very new to PHP and thanks to users help I have the basics up and running, which is a header and footer.

I am trying to make a dynamic PHP site. That is, I am trying to get my header up the top and footer at bottom but what I am having trouble with is to have a list of links on the left and when I click a link it opens it on the right which is the main page so to speak. To say the least I am not having much success.

In essence I am trying to get my header, footer and index sidebar to be static and when a link is clicked on the sidebar it opens it in the main area.

I dont want to get into MySQL. PHP is using enough of my old and tired brain cells at present.

Any help would be greatly appreciated.


I think you will need to use tables.
I assume the header has all the "<html><head</head><body>" stuff in, so I think youll need to add a tableand a column to the header, and a column to the footer.
Something like...
Code:

;;;Header;;;
(original header content)
<table><tr><td>
------------------------
;;;footer;;;
</td><td width='150'>(sidemenu HTML)</td></tr></table>
------------------------

_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
endusto
-


Joined: 21 Feb 2005
Posts: 20

PostPosted: Mon Apr 04, 2005 9:58 pm    Post subject: Reply with quote

try making header.php and footer.php to whatever you want for a header and footer then in you main page try
Code:

<? include("header.php"); ?><br>
HHHHHHeeeeyyyyyy!!!!!!!!!<br>
<? include("footer.php"); ?>
[/code]
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB phpBB Group