This code doesnt work…
Here how I use it https://src.fdrv.guru/180210124918.jpg
Result https://src.fdrv.guru/180210124232.jpg
Db looks like this after that code https://src.fdrv.guru/180210124339.jpg
If I try to add row from admin and then update post the db looks like this https://src.fdrv.guru/180210124510.jpg