blasterstudios
Technical User
I am trying to setup a database that stores drop-down box values in separate tables. When the option value is selected, i'd like the id of that row to be stored in a new table, rather than the text. That way i can manage the entire system rather than each actual value. For example:
clientid 1 = McDonalds
Requestorid 3 = John
Job #1:
Client = 1
Description = build a new one
Requested by = 3
So instead of each field echoing the actual id, i would like it to reference the corresponding client in the client table. As well as the requestor. I needs to put "John" in place of the 3. How can I setup multiple arrays to do this. In the end, i'll have a bout 6 or 7 total.
Thanks.
clientid 1 = McDonalds
Requestorid 3 = John
Job #1:
Client = 1
Description = build a new one
Requested by = 3
So instead of each field echoing the actual id, i would like it to reference the corresponding client in the client table. As well as the requestor. I needs to put "John" in place of the 3. How can I setup multiple arrays to do this. In the end, i'll have a bout 6 or 7 total.
Thanks.