php Insert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sreenisha
    New Member
    • Aug 2008
    • 27

    php Insert

    HI
    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
  • ganesh1975
    Banned
    New Member
    • Aug 2008
    • 2

    #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

    Comment

    Working...