I have to create a registration form through which data will be entered into two tables one the profile table n other the address table. The problem is that i have to enter the address id of address table simultaneously into the profile table. now i dont know how to take the output of select query through which i retreive the address_id and insert it into the profile table.
itee 0 Newbie Poster
Recommended Answers
Jump to Post2 tables Profile & Address
Profile Contains Address_ID, lot more fields and Address Contains Address_ID,Address1,Address2Select Address.Address1,Address.Address2 from Profile,Address where Profile.Address_ID = Address.Address_ID
hope that helps!
All 4 Replies
jbisono 51 Posting Pro in Training
itee 0 Newbie Poster
dnanetwork 18 Practically a Master Poster Banned
johnmarshel 0 Newbie 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.