On Sat, 4 Aug 2001, Joris Kluivers wrote:

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

"replace into"

--
 patrik wallstrom     |      f o o d f i g h t
 tel: +46-8-6188428   |      s t o c k h o l m
 gsm: +46-709580442   |      - - - - - - - - -


-- 
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