Re: Problem with inserting single quot

From: Date: Tue, 15 Aug 2000 15:00:11 +0000
Subject: Re: Problem with inserting single quot
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-1814@lists.php.net to get a copy of this message
afan pasalic wrote: > Hi everyone, > I have created o form that gets submitted to MySQL. When someone adds an apostrophe ( ' ) > it wirtew it escaped like ( \' ). The problem is that when we try to process anything with this > data, the process won't happen. Is there a way for me to escape this apostrophe and make sure > it writes correctly to MySQL . Sound like a job for the addslashes() function. G.

« previous php.windows (#1814) next »