onthespot Posted August 14, 2006 Share Posted August 14, 2006 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 Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/ Share on other sites More sharing options...
pixy Posted August 14, 2006 Share Posted August 14, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74277 Share on other sites More sharing options...
hitman6003 Posted August 14, 2006 Share Posted August 14, 2006 [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? Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74279 Share on other sites More sharing options...
onthespot Posted August 14, 2006 Author Share Posted August 14, 2006 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??? Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74281 Share on other sites More sharing options...
onthespot Posted August 14, 2006 Author Share Posted August 14, 2006 anyone? Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74290 Share on other sites More sharing options...
hitman6003 Posted August 14, 2006 Share Posted August 14, 2006 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.htmlWhich is on his menu scripts page here:http://www.dhtmlgoodies.com/index.html?page=menuScriptsIt's built using unordered lists, so it's easy to build with a recursive function. Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74293 Share on other sites More sharing options...
onthespot Posted August 14, 2006 Author Share Posted August 14, 2006 nice one mate, ill take a look, so using this, i can update from the databsae? Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74295 Share on other sites More sharing options...
newb Posted August 14, 2006 Share Posted August 14, 2006 making a menu from a php database is ez. if thats what u want. Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74301 Share on other sites More sharing options...
onthespot Posted August 15, 2006 Author Share Posted August 15, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/17456-menu-php/#findComment-74870 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.