Creating Master-Detail or Parent-Child Form in PHP
Posted: Fri Jul 31, 2009 11:36 am
I have been working on PHP for quite sometime but recently I have been faced with a situation in which I have to create a MASTER DETAIL form having CRUD operations [Create, Read, Update and Delete]. In PHP, i have never done this and looking for some sample code in order to achieve this.
Let me give an example what I want to achieve:
Master Information: [Voucher_Master]
===============
Transaction Number:
Voucher Date:
Voucher Description:
Detail Information: [Voucher_Detail]
==============
Account Code Account Name Debit Credit
There is one to many relationship between Voucher_Master and Voucher_Detail.
I would be very thankful if somebody can guide me in this regard.
Eagerly waiting for response.
Let me give an example what I want to achieve:
Master Information: [Voucher_Master]
===============
Transaction Number:
Voucher Date:
Voucher Description:
Detail Information: [Voucher_Detail]
==============
Account Code Account Name Debit Credit
There is one to many relationship between Voucher_Master and Voucher_Detail.
I would be very thankful if somebody can guide me in this regard.
Eagerly waiting for response.