-1
如果我輸入P200,000的金額,然後我每月支付如下:如何根據收到的金額瞭解剩餘的每月付款?
###############################
# Monthly Payments ## Remarks #
###############################
# 43,590 ## Pending #
# 43,590 ## Pending #
# 43,590 ## Pending #
# 43,590 ## Pending #
# 43,590 ## Pending #
###############################
我每月付款的陣列。那麼,我將如何知道P200,000每月支付的付款額是多少,並將評論更改爲「ENCASHED」?
我想要的結果是這樣的:
###############################
# Monthly Payments ## Remarks #
###############################
# 43,590 ## Encashed#
# 43,590 ## Encashed#
# 43,590 ## Encashed#
# 43,590 ## Encashed#
# 43,590 ## Pending #
###############################
如何在PHP代碼呢?
你如何分割20萬分期付款,並告訴我們你在數組 – Shafeeque