I have a database with two tables,
A contains the
title of a
book and has an auto-increment column,
book_id, that I declared as primary key.
B, I want to retain the
price of the
book having the same
book_id value. In this case, the
book_id column will be constrained as a foreign key and I dont want to auto-increment it.
How do I do it using PHP?