SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using MySQL, then you can use insert ... on duplicate.