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