Hi, Im pretty new to writing php code. Im using php4 and mysql. i am trying to write a contact manager script for my business. i have 3 forms, that correspond to 3 tables
in one database.
the first form is the contact information, i assign a contact_id as the primary key and it autoincrements, once the form is submitted and dumped into table 1, i click on a link that takes me to Form 2. In form 2 the primary key is activity_id and it too auto increments. Now here is what i would like to do. There is a field in table 2 where the contact_id number from the first form(and table 1) has to be put in but i would like to grab it from the first form and dump it right into table 2 field contact_id.
i guess i want that variable to continue on as i go through each form and data dump, but using auto increment when you dump to mysql you use (\"\"), if i echo contact_id, it is always blank...
Hope this made some sense