Yes code is restored. Code was still in SQL database.
What I mean by loosing code ad do not see code on form generation window is. If you open fabrik Form and plugin php then there is only Add button. All the buttons php and codes under it are gone.
I suspect that the problem was in one code that contains HTML. Code generates from HTML pdf file and sends it to email. Also tags are used there. I think if the HTML is too complicated then my mentioned problem happens. HTML is generated from excel file (saved as html). This problem has already happened twice, but for final conclusion more investigation has to be done.
Why i used HTML in php code is the reason that only then tags {} are working. I did test linking html file to php code but tags didn't work then.
marek