Use REPLACE

----- Oorspronkelijk bericht -----
Van: "Joris Kluivers" <[EMAIL PROTECTED]>
Aan: <[EMAIL PROTECTED]>
Verzonden: zaterdag 4 augustus 2001 18:20
Onderwerp: [PHP-DB] Insert Update


is there a mysql query that inserts into a database, but if the item already
exists it does not insert but updates?

Joris



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to