
`SI_ID is` the Auto Increment Field
`SI_Reg_No` i the student registration number
`SI_Ins_NO` is the installment number
`SI_Due_Date` is the due date of that installment
`SI_Paid_Amount` is the paid amount of each installment
支払いフォームのボタンをクリックすると、SI_Paid_Amount フィールドを更新したいと思います。
$amount = 5000.00 // this is what i send to the db for update `SI_Paid_Amount`
SI_paid_Amount次のように更新する必要がある場合
最初からSI_Ins_No、SI_Ins_amount が Si_Paid_Amount フィールドを更新するよりも大きい場合$amount、ループを停止する必要があります。次のように

SI_Ins_Amount が送信量よりも少ない場合は、2 番目の SI_Ins_No 関連列を更新する必要がありますSI_Paid_Amount。また、データを送信するときに、以前のSI_Paid_Amount量を確認したいと考えています。 SI_Paid_AmountsSI_Ins_No