mysql - PHP COI Rate Calc foreach, for and possible while loop? -


i'm trying achieve below process using php i'm stumped, able provide hand?

get table contains years database     loop through each row (year) using foreach loop         use loop divide year months (12)             calculation on each month can verified on month 12 of each year             if verification unsuccessful +/- number , re-run loop current year             else carry on next year 

many thanks


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -