Hello I have the variable
$string[$k] = $function[$k]
defined within a foreach loop with index $k. I want $string to be defined as
$string[$k] = $function[$(k-5)]
except that isn't correct. So for $k=8 I would have
$string[8] = $function[3]
How do I achieve this?
Thank you