我需要一个由填充信息组成的for循环,出生地和年龄一样多

I need a for loop made by filled in information, the birthplace shown as much as the years of the age

我制作了一张表格,其中包含出生地 ($plaats) 和年龄 ($leeftijd)。如果此人居住在埃因霍温且年满 18 岁,我需要证明 "Eindhoven the craziest"。

但是我必须回显这句话和年龄一样多,例如如果年龄是19岁,我必须回显"eindhoven the craziest" 19次。 我已经做到了,但我不能再进一步了:

if ($leeftijd >=18 && $plaats == "Eindhoven")
{ 

} 

这听起来像是一道学校或申请测试题,无论如何..这里是:

if ($leeftijd > 18 && $plaats == "Eindhoven")
{ 
    for ($i = 0; $i < $leeftijd; $i++) {
         echo 'Eindhoven de gekste!';
    }
}