From: PG Explorer <pgmail@pgexplorer.com>
To: arun kv <arun@library.iisc.ernet.in>
To: PGSQL <pgsql-php@postgresql.org>
Subject: Re: insert a special character
Date: Thu, 28 Mar 2002 07:46:59 +0200
Message-ID: <000a01c1d61b$fc16d3a0$c80ba8c0@sabex.com> (raw)
References: <Pine.BSO.4.21.0203281030560.5138-100000@library.iisc.ernet.in>
Swich Magic Quotes On
http://www.pgexplorer.com
PosgtreSQL Frontend Client
----- Original Message -----
From: "arun kv" <arun@library.iisc.ernet.in>
To: "PGSQL" <pgsql-php@postgresql.org>
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: pgmail@pgexplorer.com, arun@library.iisc.ernet.in
Subject: Re: insert a special character
In-Reply-To: <000a01c1d61b$fc16d3a0$c80ba8c0@sabex.com>
References: <Pine.BSO.4.21.0203281030560.5138-100000@library.iisc.ernet.in> <000a01c1d61b$fc16d3a0$c80ba8c0@sabex.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox