Okay, I have a little question. I'm designing a form for my business and what they want is when the customer picks their customer code from a drop down select box, it populates the rest of the form input fields except for a few select ones with their information from an already existing database.
(i.e I pick the customer code 38974 and then the address, city, state/province, postal code etc fields automatically become updated with that customer's information.)
I've figured out how to populate the customer code drop down box with every customer code, however, I'm not sure how to have it so that when they pick it, it automatically updates.
BTW, it's an odbc database, and for some reason the odbc_fetch_array() function doesn't work, so I've had to use odbc_fetch_row with a while loop to populate the customer code field.
I just started coding in PHP yesterday, and well, I'm obviously not that good yet, so any help would be much appreciated 😉