Re: apostrophe

From: Date: Tue, 20 Feb 2001 07:52:24 +0000
Subject: Re: apostrophe
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6772@lists.php.net to get a copy of this message
In article <01cd01c09b0d$7f247630$0101a8c0@server>, pankaj@itinfobank.com ("Pankaj Ahuja") wrote: > Is it possible to insert apostrophe into a Mysql database ?? I have a > varchar type column and want to insert " manufacturer's" into it. How can I > do this ?? Escape it with a slash: " manufacturer\'s". Or have PHP do it for you: addslashes(" manufacturer's"). -- CC

« previous php.db (#6772) next »