Jump to content


Photo

menu php


  • Please log in to reply
8 replies to this topic

#1 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 14 August 2006 - 01:04 AM

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?

#2 pixy

pixy
  • Members
  • PipPipPip
  • Advanced Member
  • 295 posts

Posted 14 August 2006 - 01:14 AM

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.

This is a .44 Caliber Loveletter straight through my heart.

Tabulas + Threadless + Hire Me!


#3 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 14 August 2006 - 01:25 AM

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?


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?

#4 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 14 August 2006 - 01:27 AM

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???

#5 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 14 August 2006 - 01:55 AM

anyone?

#6 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 14 August 2006 - 01:59 AM

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.dhtmlgood...dies-menu2.html

Which is on his menu scripts page here:

http://www.dhtmlgood...age=menuScripts

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

#7 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 14 August 2006 - 02:00 AM

nice one mate, ill take a look, so using this, i can update from the databsae?

#8 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 14 August 2006 - 02:50 AM

making a menu from a php database is ez. if thats what u want.

#9 onthespot

onthespot
  • Members
  • PipPipPip
  • Advanced Member
  • 424 posts

Posted 15 August 2006 - 01:19 AM

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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users