Jump to content

Archived

This topic is now archived and is closed to further replies.

onthespot

menu php

Recommended Posts

is there anyway, i can make a menu where is updates through php?? so i can add parts to it using php, instead of redesigning the whole thing?

Share this post


Link to post
Share on other sites
Of course, dear. You'll have to be more specific about what kind of menu you want to make if you want us to help you.

Share this post


Link to post
Share on other sites
[quote author=onthespot link=topic=104141.msg415208#msg415208 date=1155517476]
is there anyway, i can make a menu where is updates through php?? so i can add parts to it using php, instead of redesigning the whole thing?
[/quote]

Yes.

However, as Pixy stated, you need to be more specific.  Are you pulling from a db?  Are you using JS?  What is the structure of your existing menu?  What do you want the result to be?  Do you have any code that you have tried so far?  If so, what isn't working about it?

Share this post


Link to post
Share on other sites
sorry guys, ok i havent got the menu atm as im starting a fresh, but ive never done this kind of thing with php! i want to have a menu with parent navigation menu, with sub menus coming off them! so a menu on the left, when u hover over, and second menu pops up to the right of it inline! i want to be able to update this through a DB???

Share this post


Link to post
Share on other sites
Look for any one of the thousands of JS menu scripts, then just build it's input from the database using php.

I usually use this one from dhtmlgoodies.com:

http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-menu2/dhtmlgoodies-menu2.html

Which is on his menu scripts page here:

http://www.dhtmlgoodies.com/index.html?page=menuScripts

It's built using unordered lists, so it's easy to build with a recursive function.

Share this post


Link to post
Share on other sites
making a menu from a php database is ez. if thats what u want.

Share this post


Link to post
Share on other sites
yes that is what i want, however, i need you to explain how to make the database contain the tables i need etc, im v.confused about this element of php!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.