Kodu incelemedimde verdiği hata for dongusunu kapatmamışsınız ?> den önce bi tane daha } eklersen o hatayı vermez