Someone help me with PHP?

I have a variable

$name = "Boris";
$index = 780;

How do I write a code in PHP that will show me the $name variable the number of times that I get by dividing the $index variable by 10 ($index / 10), preferably each time in new line?
 
Back
Top