By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,045 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,045 IT Pros & Developers. It's quick & easy.

Combine two seperate html pages useing php, how to?

P: n/a
tom
I have two seperate pages, one is my navigation and the other is my
main page. How do I combine the two useing php, if you know please
gimme a hand. thanks

Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 21 Dec 2004 10:26:56 -0800, "tom" <tg******@yahoo.com> wrote:
I have two seperate pages, one is my navigation and the other is my
main page. How do I combine the two useing php, if you know please
gimme a hand. thanks


http://php.net/readfile

Unless you wanted something more complicated in which case be more specific as
to what "combine" means here.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

P: n/a
Would it not be just a case of including your navigation with
include(nav.html)
wherever you want navigation in your mainfile just put that code in, the
file would have to *.php

"tom" <tg******@yahoo.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I have two seperate pages, one is my navigation and the other is my
main page. How do I combine the two useing php, if you know please
gimme a hand. thanks

Jul 17 '05 #3

P: n/a
tom
well, i'm some what new. tring to learn small things one by one.

Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.