Re: insert a special character

From: "PG Explorer" <pgmail(at)pgexplorer(dot)com>
To: "arun kv" <arun(at)library(dot)iisc(dot)ernet(dot)in>, "PGSQL" <pgsql-php(at)postgresql(dot)org>
Subject: Re: insert a special character
Date: 2002-03-28 05:46:59
Message-ID: 000a01c1d61b$fc16d3a0$c80ba8c0@sabex.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Swich Magic Quotes On

http://www.pgexplorer.com
PosgtreSQL Frontend Client

----- Original Message -----
From: "arun kv" <arun(at)library(dot)iisc(dot)ernet(dot)in>
To: "PGSQL" <pgsql-php(at)postgresql(dot)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(at)postgresql(dot)org)

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Tomaz Borstnar 2002-03-30 00:22:58 Many "pq_flush: send() failed: Broken pipe" after upgrading from php 4.0.x to php 4.1.x
Previous Message arun kv 2002-03-28 05:18:56 insert a special character