insert a special character - Mailing list pgsql-php

From arun kv
Subject insert a special character
Date
Msg-id Pine.BSO.4.21.0203281030560.5138-100000@library.iisc.ernet.in
Whole thread Raw
Responses Re: insert a special character  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List 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


pgsql-php by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: php oracle
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: insert a special character