It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

Best way to edit menus...

Moderator: Malcolm

Best way to edit menus...

Postby YinYang on Fri Dec 01, 2006 9:34 pm

Hello... I have yet another question, is it possable to edit all the menus of your website, with php. I am looking for the easiest way to edit a navagation bar on a lot of pages, and I think PHP would do this the best.

help would be apriciated.

P.s. I'm also looking for a way to add html to a certain part of a page.
YinYang
 
Posts: 15
Joined: Sun Jun 11, 2006 1:43 am

Postby dazz_club on Mon Dec 11, 2006 1:53 pm

Hi there,

it is possible,

you can create a php menu, once, and have it as include / requrie file in the rest of your pages.

so if you would like to add a new topic, simply edit the menu file and it will show in all of the files that have the require / include code.
User avatar
dazz_club
250+ Club
 
Posts: 313
Joined: Fri Jul 15, 2005 7:35 am
Location: Chester and Hull


Who is online

Users browsing this forum: No registered users and 3 guests