PHP COI Rate Calc foreach,for循环可能吗?

时间:2013-05-09 15:24:28

标签: php mysql codeigniter foreach

我正在尝试使用PHP实现以下过程,但我很难过,是否有人能够提供帮助?

Get table that contains years from database
    Loop through each row (year) using a foreach loop
        Use a for loop to divide year into months (12)
            Do a calculation on each month which can only be verified on month 12 of each year
            If verification is unsuccessful +/- a number and re-run the for loop for the current year
            Else carry on to the next year

非常感谢

0 个答案:

没有答案