There are two tables; one for product details and the second for product images.
The first page is product detail and product details page insert the product details. So how to fetch the id of that recent inserted product and that id redirect to another page for insertion of that product image?
I want to pass product id from one page to another page for insertion of that product image.
The id can pass through url but I don't know how to pass it.
Both tables are different for product detail and product image.
Please provide code for it.
In this page product detail inserted and id of this recent inserted product I want to pass in another page:
I want the product id here: