in reply to Re: Having a problem with my code!
in thread Having a problem with my code!

I think i found the problem, simple one really, i forgot to initialize the data variable in the else block before using it.