are there any guides to creating a dynamic menu from mysql data?

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default are there any guides to creating a dynamic menu from mysql data?

    I'd like to create a menu system thats dynamic in nature and pulls the page
    id ,name, title etc from a mysql table so that when a page is added it will
    be automatically linked into the menu system.
    are there any guides out there about this?
    Thanks in advance.

    Wayne...


    Wayne... Guest

  2. Similar Questions and Discussions

    1. Creating a Dynamic drop-down menu with MS Access2003 DB
      <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/myDatabase.asp" --> <% Dim Recordset1 Dim Recordset1_numRows set...
    2. Creating a Dynamic drop-down menu with MS Access 2003 DB
      I'm trying to create a dynamic pull-down menu, i've created a MS Access 2003 database. And everytime i create a recordset linking my asp page to my...
    3. creating a dynamic menu, help please
      hello could someone please tell me how to create a vertical dynamic menu/navigation bar that holds buttons and responds to mouse movement within...
    4. creating rows in mysql with data
      Hi i have two files <HTML> <BODY> <form method="post" action="datain.php"> First name:<input type="Text" name="first"><br> Last name:<input...
    5. Creating a Dynamic Menu (Tree Hierarchy type)
      Hi, I am trying to source an XTRA or a tut on how to build a dynamic tree menu. A buddy of mine built one using the TreeView xTRA but I see that...
  3. #2

    Default Re: are there any guides to creating a dynamic menu from mysql data?

    Well this is my db for dynamic menues....I've seen this stucture in many
    books and articles....

    menu_id INT
    parent_id INT DEFAULT '0'
    name VARCHAR(255) DEFAULT ''
    description TEXT
    location VARCHAR(255) DEFAULT ''

    all keys are NOT NULL where menu_id is PrimaryKey and location is
    UniqueKey...

    Hope this helps.....


    <Michael Vilain <vilain@spamcop.net>> wrote in message
    news:vilain-F0D1F0.20232520062004@comcast.dca.giganews.com...
    > In article <40d5e045@212.67.96.135>,
    > "Wayne..." <wayne@secretwebdesign.com> wrote:
    >
    > > I'd like to create a menu system thats dynamic in nature and pulls the
    page
    > > id ,name, title etc from a mysql table so that when a page is added it
    will
    > > be automatically linked into the menu system.
    > > are there any guides out there about this?
    > > Thanks in advance.
    > >
    > > Wayne...
    >
    > Sounds like a SOP--simple matter of Programming. Try some basic PHP
    > books that include MySQL. The menu would be built by a query, then
    > displayed.
    >
    > --
    > DeeDee, don't press that button! DeeDee! NO! Dee...
    >
    >
    >

    AnteD Guest

  4. #3

    Default Re: are there any guides to creating a dynamic menu from mysql data?

    Hi,

    Check zend.com under [developers]->[code gallery]. They've got some good
    ones

    Duncan

    On Mon, 21 Jun 2004 14:30:14 +0200, AnteD <ante{at]abstraktmedia[.}com>
    wrote:
    > Well this is my db for dynamic menues....I've seen this stucture in many
    > books and articles....
    >
    > menu_id INT
    > parent_id INT DEFAULT '0'
    > name VARCHAR(255) DEFAULT ''
    > description TEXT
    > location VARCHAR(255) DEFAULT ''
    >
    > all keys are NOT NULL where menu_id is PrimaryKey and location is
    > UniqueKey...
    >
    > Hope this helps.....
    >
    >
    > <Michael Vilain <vilain@spamcop.net>> wrote in message
    > news:vilain-F0D1F0.20232520062004@comcast.dca.giganews.com...
    >> In article <40d5e045@212.67.96.135>,
    >> "Wayne..." <wayne@secretwebdesign.com> wrote:
    >>
    >> > I'd like to create a menu system thats dynamic in nature and pulls the
    > page
    >> > id ,name, title etc from a mysql table so that when a page is added it
    > will
    >> > be automatically linked into the menu system.
    >> > are there any guides out there about this?
    >> > Thanks in advance.
    >> >
    >> > Wayne...
    >>
    >> Sounds like a SOP--simple matter of Programming. Try some basic PHP
    >> books that include MySQL. The menu would be built by a query, then
    >> displayed.
    >>
    >> --
    >> DeeDee, don't press that button! DeeDee! NO! Dee...
    >>
    >>
    >>
    >
    >


    --
    Duncan
    Duncan Austin Guest

  5. #4

    Default Re: are there any guides to creating a dynamic menu from mysql data?

    thanks

    Wayne...


    Wayne... Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139