I have a very long form that the user inputs data about a client. Within the form are fields for various contacts for that client company.
Am I able to use one submit and have it submit some of the fields to the client table and some of the fields data to the contacts table? At the same time, I'd need to link the ID that is autogenerated from the submit into the client table, so that they are linked later for use. (the id would be added as a field in the contact table)
Can this be done, and if so, what might the code look like?
PHP/MYSQL in usage. Thanks.
Am I able to use one submit and have it submit some of the fields to the client table and some of the fields data to the contacts table? At the same time, I'd need to link the ID that is autogenerated from the submit into the client table, so that they are linked later for use. (the id would be added as a field in the contact table)
Can this be done, and if so, what might the code look like?
PHP/MYSQL in usage. Thanks.