$myvar = 'Name:  istockphoto-511366776-612x612.jpg
Views: 418
Size:  16.2 KB';
for ($i = 0; \$i < 10; \$i++)
{
echo $myvar . "\n";
}