title: Php and mysql foreign key data insertion
body: <p>I have 2 tables in mysql database(product table and product category table)
  The product category table  has category id as primary key and has a column category name.The product table has product id as primary key and category id as foreign key.From my form I want to insert the category id in my product table. I am using php to post form data.How should I do this?</p>