By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,724 Members | 1,868 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,724 IT Pros & Developers. It's quick & easy.

php Insert

P: 27
I am using Php and Mysql for an employee database.I have normalized the tables.Now through the form i enter the details which is going to different tables.I have a problem here ie,In each table the primary key from the Master table is kept as the foreign key in the transcation tables.So in the same form i have to enter the same foreign key field each time.Is there any Options for entering the Id only once through the form. Also How can i move the details to each table finally the submit button is clicked.How the insert statement works here?ANyone plz help

thanks in advance
Aug 22 '08 #1
Share this Question
Share on Google+
1 Reply

P: 2
is it possible to show your insert query code....

may be possible this problem raise due to normalization..

check the data... it is necessary the same data is exist related table
Aug 29 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.