Dear Respected Members/Users,
I Cannot add/insert mysql last insert id in the third table. Kindly please help me out in adding the para_id into the last insert query.
I have demonstrated in the Image file which will help alot in getting my point.
Waiting for response.
thanks.
khushhappy
0
Light Poster
Recommended Answers
Jump to PostOn Ln95, you're setting last_id to last_insert_id when last_insert_id is the query for INSERT INTO directives
Jump to PostIf I see it right, you have 12 table rows and 11 values in your sqr1.
This will give a error and will insert noting, giving you no last_insert_id
All 5 Replies
Unimportant
18
Junior Poster
pzuurveen
90
Posting Whiz in Training
diafol
Atli
182
Posting Pro
khushhappy
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.