Ok
I know many of you already done with this sort of situation
i have a form which have few fields and on submitting that form i want these field values save into two tables.
Both the tables contains a primary key and foriegn key.
Let table one have id as PK and table 2 has id as FK in that table so in this way these two tables are related to each other.
I am not getting how will i code to insert data in both tables in single funtion and using the PK and Fk constriant.
ruchi18 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.