Received: from homer.websystems.co.za (unknown [196.25.70.70]) by postgresql.org (Postfix) with ESMTP id 2864E475A86 for ; Thu, 28 Mar 2002 00:47:48 -0500 (EST) Received: from hano (bnb53-01-p139.nt.saix.net [155.239.180.139]) by homer.websystems.co.za (8.11.0/8.11.0) with SMTP id g2S5tnQ00478; Thu, 28 Mar 2002 07:55:50 +0200 Message-ID: <000a01c1d61b$fc16d3a0$c80ba8c0@sabex.com> From: "PG Explorer" To: "arun kv" , "PGSQL" References: Subject: Re: insert a special character Date: Thu, 28 Mar 2002 07:46:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200203/54 X-Sequence-Number: 1023 Swich Magic Quotes On http://www.pgexplorer.com PosgtreSQL Frontend Client ----- Original Message ----- From: "arun kv" To: "PGSQL" Sent: Thursday, March 28, 2002 7:18 AM Subject: [PHP] insert a special character > hello, > I have a string with ' this symbol in the middle of the text > example:- > " that book belong to rahul's sister" > > this string is to be stored in the variable "$strexp" > when I am inserting this variable in database table > following error apperes > > > " parse error at or near "s" " > > How can I read the string and store in a variable and insert the same > into the database table ? > > thanks in advance , > with regards, > Arun > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)