i have a question that is burning my head:
i have an array $x_axis[] filled with 357 values
$x_axis[0] = '1234'
$x_axis[1] = '2345'
.....
$x_axis[356] = '678'
What i need to do is to change the value each 10 keys into ‘0000’
But my head is absoutely shut down today… can you help me?
Thanks!!
If you want every 10th to be turned into 0000, you can do that with a for loop. This can also take into account that the amount of your of values can change.
EDIT:
People are really sensitive, so i modified the code to not kill kittens anymore.