Skip site navigation (1) Skip section navigation (2)

insert a special character

From: arun kv <arun(at)library(dot)iisc(dot)ernet(dot)in>
To: PGSQL <pgsql-php(at)postgresql(dot)org>
Subject: insert a special character
Date: 2002-03-28 05:18:56
Message-ID: Pine.BSO.4.21.0203281030560.5138-100000@library.iisc.ernet.in (view raw or flat)
Thread:
Lists: pgsql-php
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


Responses

pgsql-php by date

Next:From: PG ExplorerDate: 2002-03-28 05:46:59
Subject: Re: insert a special character
Previous:From: ChrisDate: 2002-03-28 05:16:27
Subject: Re: insert a special character

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group