I have the following tables in my db (it's not complete here, but I think that's possible to understand the idea).
Articles |
---|
id |
title |
Author |
---|
id |
name |
Articles_Author |
---|
idArticle |
idAuthor |
I need to insert the articles and authors autoincremented id's in the table 'Articles_Author', in the same row.
When I use last_insert_rowid()
, it adds in a different row.
Can someone help me?!