[PHP] drop down menu populated from a directory

2004-05-30 Thread Dustin Krysak
Hi there What I am hoping to do is have a drop down menu that would be populated from the contents of a directory via php. Now The link names would be generated by the file name minus the file extension. Has anyone seen a tutorial on accomplishing something like this? All of the links would

RE: [PHP] Drop down Menu

2002-10-08 Thread Wilmar Perez
This is a function I made which covers my needs. May be of some help for you. This is a "select" box but I'm sure you can modify it for a combo box. $form_fiel_name is the name you want the box to have in your web form. $table is the table from you want to retrieve the information $field is th

RE: [PHP] Drop down Menu

2002-10-08 Thread Liam . Gibbs
<> Well, to start you off, the select would have to be this: SELECT salesman FROM salesman_database; (You may have to check out a MySQL site for some specifics, such as what other information do you need than the name--number? Department?--and are there any filters you need--some have left?). Fo

[PHP] Drop down Menu

2002-10-08 Thread The New Source
Hi, I need to do a drop down menu that loads the contents from a msql database. Like this: I need a select that has the name of every salesman of a certain department, and this info is dynamic and is recorded in a database (MySql). So what would the select have to be like? Also the load value is

Re: [PHP] Drop Down Menu

2001-07-28 Thread Michael J. Seely
You need to do something like this: With a little PHP work you can make the menu content and url links data driven. Page Title