That seems the simplest way to me but with 2 counters say $ix,$n. [$ix] for current position and $n counting from 1 to 15 pointing to previous row [$ix-$n] in turn. You will need to adjust the logic for the first 15 records of course.
pojIn reply to Re: Array of arrays - redux
by poj
in thread Array of arrays - redux
by JockoHelios
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |