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

RE: [PHP-DB] drop down menu

2002-05-30 Thread Daevid Vincent
I use this function: function ListboxMatch($size, $name, $query, $matchtothis) { //echo "".$query.""; if ( $qry = mysql_query($query) ) { if (mysql_num_rows($qry) > 0) { ech

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 PROTECT

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

2001-02-20 Thread Thor M. Steindorsson
TED]] Sent: 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 men

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

2001-02-20 Thread JJeffman
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 ways: 1) If the amount of data is not very large you can get all data needed to run the "application" client side, load the data into JavaScript arr