Results 1 to 4 of 4

Thread: How to create drop down menu in php

  1. #1
    Join Date
    Jan 2009
    Posts
    41

    How to create drop down menu in php

    I wanted to create the dropdown menu for my php script. This is I am trying for the first time as i will be new to PHP and creating drop down menu will be the fairly good option for me, and that drop down menu that populates itself with data from a MySQL table. Can anyone tell me whether I would create a non dynamic drop down menu that alters what is shown in the dynamic menu.

  2. #2
    Join Date
    Jan 2006
    Posts
    211

    Re: How to create drop down menu in php

    At some point when working with WordPress you’ll likely want to display your page links in a dropdown navigation bar. Dynamic Munu Builder: With HIOX FREE Drop Down Menu Builder/Creator tool you can create countless dynamic dhtml/javascript drop down menus with in few minutes, that too for free. I believe IE8 no longer needs the JavaScript, but all previous versions do. I may be wrong about it being necessary for IE7, but it’s definitely needed for IE6 and below.

  3. #3
    Join Date
    Oct 2008
    Posts
    167

    Re: How to create drop down menu in php

    Arrays store values which will be populated to our dropdown menus. Now we are going to create a function which will take to parameters * name of the array and name of the form element. i would point out that the actual list is being constructed with javascript, but the sql request requires php to be more efficient. Create 'java script' or dhtml dropdown menu and use it any html or PHP or JSP or ASP and other web pages that supports Javascript and CSS.

  4. #4
    Join Date
    Apr 2008
    Posts
    193

    Re: How to create drop down menu in php

    It generates all the scripts and HTML code you need. Just put the scripts on your website, and cut and paste the HTML code into your web pages, Creates a simple drop down list from a SQL query. Column 1 of the query should be the reference, column 2 should be the descriptive text / list entry. The value for blank is inserted at the top of the drop down list if required, either as a default value or for informative or instructive text.

Similar Threads

  1. How to add drop-down menu in Word ?
    By Japheth in forum Windows Software
    Replies: 21
    Last Post: 19-01-2013, 02:29 AM
  2. Java drop down menu
    By Ameeryan in forum Software Development
    Replies: 3
    Last Post: 05-11-2009, 01:33 PM
  3. How to make table drop down menu
    By Odalis in forum Software Development
    Replies: 3
    Last Post: 13-07-2009, 06:43 PM
  4. How to add drop-down menu in Word ?
    By Japheth in forum Windows Software
    Replies: 0
    Last Post: 23-03-2009, 02:28 PM
  5. ListBox Drop down menu in vb.net
    By SamsherR in forum Software Development
    Replies: 3
    Last Post: 16-02-2009, 04:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,544,318.72193 seconds with 17 queries