I have made a form with Birthplace ($plaats) and age ($leeftijd). and i need to show "Eindhoven the craziest" if the person lives in Eindhoven and older than 18.
But i have to echo this sentence as much as the years of the age, by example if the age is 19, i have to echo "eindhoven the craziest" 19 times. I have made it to this but i cant get any further:
if ($leeftijd >=18 && $plaats == "Eindhoven")
{
}
Aucun commentaire:
Enregistrer un commentaire