RE: [PHP] PHP, JavaScript and populating DropDowns

2003-07-30 Thread Creative Solutions New Media
: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] PHP, JavaScript and populating DropDowns assuming you have a table with colors, and each color has car associated with it (yes, there might be dup color entries). This should work (check spellings and case, etc..etc...) $query

Re: [PHP] PHP, JavaScript and populating DropDowns

2003-07-29 Thread John Manko
assuming you have a table with colors, and each color has car associated with it (yes, there might be dup color entries). This should work (check spellings and case, etc..etc...) $query="SELECT * from colors"; $results = mysql_query($query) or die ("DB ERROR:" . mysql_error()); $num = mysql_numro