Strange thing.. (news script with txt db)

HI, im real puzzeled right now and cant seem to find what is wrong… i made an news system trough this tutorial (http://www.devarticles.com/c/a/PHP/Creating-a-News-System-with-PHP/2/)… i added a few extra’s like picture upload… everything works pretty good but 1 function seems to do something i dont want… let me expllain…

This script is 1 .php file with pic upload, edit, delete, and ad news… is i add news with a picture it works fine… delete works fine to… but edit does something strange and i just cant find where or what is wrong…

if i add news, i get:

date, header, message, image

if i edit somehow my new changes:

date image, message (header is gone)

this is the piece of code that edits…