[SOLVED] PHP Navigation

This is a discussion on "[SOLVED] PHP Navigation" within the PHP Forum section. This forum, and the thread "[SOLVED] PHP Navigation are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jan 21st, 2008, 05:08
New Member
Join Date: Sep 2007
Location: New Zealand
Age: 18
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] PHP Navigation

I'm new to PHP but I read somewhere that instead of having to change your navigation on each page like in XHTML or HTML you could have one PHP file that you edit and the lot changes. Could anyone advise me on how I would go about this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 21st, 2008, 05:51
Highly Reputable Member
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP Navigation

You could start with this tutorial from the November 2007 issue of Creative Coding.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 21st, 2008, 05:58
New Member
Join Date: Sep 2007
Location: New Zealand
Age: 18
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP Navigation

I figured it out I just took out the nav in my HTML and put in
Quote:
<?php include("phpincludes/navigation.php"); ?>
where the nav had been previously. Then I pasted the copied nav into a txt file names navigation.php ina folder called phpincludes. Remembering to change the ext. from html to php on the original html file.
Hope this helps future people as well!
Thanks for your help too!

Last edited by KiwiTaicho; Jan 21st, 2008 at 06:01.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Navigation blocked by something in IE6? frinkky Web Page Design 3 May 18th, 2008 02:00
CSS Navigation Help! crackafaza Web Page Design 3 Jan 21st, 2008 15:56
[SOLVED] navigation bar trouble danny322 Web Page Design 5 Nov 13th, 2007 02:25
[SOLVED] Apple.com : How to do similar navigation? Ed Web Page Design 24 Oct 28th, 2007 14:28
[SOLVED] Horizontal Navigation Bar cshanks Web Page Design 5 Oct 3rd, 2007 15:31


All times are GMT. The time now is 01:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42