View previous topic :: View next topic |
Author |
Message |
mg66 -
Joined: 15 Aug 2004 Posts: 85 Location: USA, Illinois
|
Posted: Sat Apr 02, 2005 7:20 pm Post subject: Dynamic PHP Site Problem |
|
|
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 |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sun Apr 03, 2005 7:52 am Post subject: Re: Dynamic PHP Site Problem |
|
|
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 |
 |
 |
endusto -
Joined: 21 Feb 2005 Posts: 20
|
Posted: Mon Apr 04, 2005 9:58 pm Post subject: |
|
|
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 |
|
 |
|