Ok, it works now.
Wysota thank you for your advice, I'll keep that on my mind when I make some more complex forms...
I didn't understand your solution Jacek. What is serial exactly? A new data type? Sorry I am not so familiar with PostgreSQL.
GreyGeek you solution works! I don't need any transactions now as I am under the PostgreSQL protections? Am I right?
And some of you mentioned trigers. No clue so far... Is it a complex explanation to drop a few lines before I read a tutorial?
Marry Christmas to all of you that celebrates...
Bookmarks