I have following tables and fields for cash book
Transactions-id,Heads,Subheads,Date,Amount,
Heads-id,heads
Subheads-id,heads,subheads
Entry doneby-id,Name
i want to put details in transactions table based on head i have chosen which can be either reciept and payment I want to make Reciept...