Using subqueries and data - MySQL

amstrad672

New Member
Is it possible to use subquery and at the same time use data in values when Inserting in mysqli?\[code\]insert into articles(description) values('Information');insert into blogs(blog, article_id) values('example.com/', SELECT LAST_INSERT_ID());\[/code\]
 
Back
Top