Hello Folks,
I was just building this application with PHP Runner...
Just wanted to know, once we add a record to one table, how can we edit some other table using the details entered..
let me make it clear..
suppose in we are having an inventory application...
i have two tables one is products and one is ledger....
once when i enter a record in ledger as follows..
Product: xxxx
Qty: 4
Type: credit/ debit
now after i enter this record in ledger table, it must automatically reduce/add the qty in the product table for the product xxxx
if credit is selected the product xxxx qty is reduce
and if debit is selected the product xxxx qty is increased...
hope to get some solution..
thanks in advance