RE: [PHP] Drop down Menu

2002-10-08 Thread Liam . Gibbs
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? Well, to start you

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 the

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. HTML HEAD TITLEPage Title/TITLE SCRIPT LANGUAGE = JavaScript!--- //hide script from old browsers function MakeArray() { this.length = MakeArray.arguments.length

Re: [PHP] drop-down menu variables

2001-04-05 Thread Joe Stump
You should all check out libHTMLForm at http://www.nirvani.net/software - it has all sorts of functions for writing HTML forms easily and painlessly. I use it all the time now (shameless plug - my roommate wrote it a while back). --Joe On Fri, Apr 06, 2001 at 02:35:11AM +0200, Richard wrote: