[eluser]earlyriser[/eluser]
Sumon: I have check the DB, but it doesn't insert data.
I have made tests, with a dummy boolean variable in the IF and then it works. Then I think there is something wrong between the begin of the function and the IF.
And yes, I don't have a success page, that will come later.