Php Mysql application.
Hello, I have two tables in mysql. I want to make a query in php page that will pick some values from table transaction to other table unpaid.
Both 2 tables share the following columns(TriId, loanNumber, StaffId).
Table transaction other columns( AmountApproved, MonthlyDeduction, Date). Table unpaid other columns(OpeningBalance, AmountDeducted, CloseBalance, month, year). transaction table has details already for TriId, loanNumber, StaffId, Monthlydeduction, AmountApproved. AmountApproved should be taken to unpaid table as Opening balance then deduct it with Monthlydeduction as AmountDeducted to get closebalance lastly to show the month and year of the closebalance.
Thank you All.
Subject
Written By
Posted
Php Mysql application.
January 05, 2021 03:09PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.