RE: [PHP-DB] Insert/Update help needed

2003-07-17 Thread Hutchins, Richard
Mike, Pretty sure your solution is to addslashes() around whatever data might contain the apostrophes. HTH, Rich > -Original Message- > From: Mike Baerwolf [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 17, 2003 11:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Insert/Update help ne

Re: [PHP-DB] Insert Update

2001-08-04 Thread Leo de Kleijn
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 bu

Re: [PHP-DB] Insert Update

2001-08-04 Thread Patrik Wallstrom
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