We'll need to have a look at your code to debug what's wrong, please your DB insertion code.