Kodu görmem gerekir ancak tahminimce kodun sonunda ?> dan önce } eklersen sorun çözülecektir.