PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
So something like the below will work. Since you appear to want to highlight every 10th value starting at 15, I changed the values to multiples of 10 (i.e., $i - 5) and then checked the remainder of that by dividing by 10 to see if was a multiple of 10.