[PHP-DB] Drop down menu with PHP

2004-04-04 Thread The Image Builder
Hello, I have code for a drop down menu that works fine. But, though I only want the results from one row to fill the form, I want it to show 2 rows in the drop down menu. Can I do that? I would appreciate your help. Here is what I have now: ? mysql_connect(localhost,user,password);

Re: [PHP-DB] Drop down menu with PHP

2004-04-04 Thread Jason Wong
On Monday 05 April 2004 10:01, The Image Builder wrote: I have code for a drop down menu that works fine. But, though I only want the results from one row to fill the form, I want it to show 2 rows in the drop down menu. What exactly do you mean by that? If you want to increase the size of

[PHP-DB] drop down menu

2002-05-30 Thread Natividad Castro
Hi to all, how can I display information in a drop down menu? What I want to do is: select all the values from info_sys field and display them in a drop down menu. This is what I have so far, but only display one value at a time. $sql = mysql_query(SELECT info_sys from project order by

Re: [PHP-DB] drop down menu

2002-05-30 Thread Julie Meloni
NC What I want to do is: select all the values from info_sys field and display NC them in a drop down menu. This tutorial may help: Extracting Elements from a Database into a Select Form Field http://www.thickbook.com/extra/php_loopoption.phtml - Julie -- Julie Meloni -- [EMAIL PROTECTED]

RE: [PHP-DB] drop down menu

2002-05-30 Thread Daevid Vincent
[mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 1:53 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] drop down menu Hi to all, how can I display information in a drop down menu? What I want to do is: select all the values from info_sys field and display them in a drop down menu

[PHP-DB] Drop-down menu selection

2001-02-20 Thread Julio Cuz, Jr.
Hi-- I hope all of you are having a great long weekend! Let's say I have four (4) tables: - "campus" that holds all my campuses' names (only 3), - "building_campus1" that holds all buildings for 'campus1', - "building_campus2" that holds all buildings for 'campus2', - "building_campus3" that

Re: [PHP-DB] Drop-down menu selection

2001-02-20 Thread JJeffman
ll up the "buildings" drop-down menu. HTH. Jayme. -Mensagem Original- De: Julio Cuz, Jr. [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Enviada em: tera-feira, 20 de fevereiro de 2001 21:44 Assunto: [PHP-DB] Drop-down menu selection Hi-- I hope all of you are having a great long weekend! L

RE: [PHP-DB] Drop-down menu selection

2001-02-20 Thread Thor M. Steindorsson
: Tuesday, February 20, 2001 5:29 PM To: [EMAIL PROTECTED]; Julio Cuz, Jr. Subject: Re: [PHP-DB] Drop-down menu selection You need mix JavaScript and PHP. Write an "OnChange" event handler for the "campus" selection list and fill up the "buildings" drop-down menu in two w