August 30th, 2000, 01:26 AM
In a table in which there is more than one primary key (using php3):...
I want to create a php script that displays say (for the purpose of adding to database):
Customer Id # (as a select)
Email (as a select)
two other fields
a customer may have more than 1 email, but each email is unique as is the customer id #
i know how to populate the customer id # from the database but is there a way (without creating a new script and passing it customer id # (storing it as hidden in the next scripts form, and then limit the emails listed)) to disable the email select until the customer id # has been selected (which then populates the email select and enables it)
in other words is there a way to do this in 1 script?
August 30th, 2000, 02:44 AM
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson