INSERT INTO users (firstname, lastname, email, mobile) VALUES ('Karem', 'Parem', '[email protected]', '123456789');
This what i would like to do, but if a row with the same email [email protected]
already exists, then it should update that row with these values.
I found the http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html but I dont understand it