Re: Escaping an '

From: Date: Sun, 17 Oct 2010 04:09:34 +0000
Subject: Re: Escaping an '
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-47388@lists.php.net to get a copy of this message
Ron Piggott wrote: > For a query similar to: > > SELECT * FROM tablle WHERE > column LIKE 'Sally's Hair Parlor' > > how do I escape the ' for 's? It's in the manual - assuming you use mysql, see http://php.net/manual/en/book.mysql.php Cheers -- David Robley "I just won 1000 dollars," Tom said grandly. Today is Setting Orange, the 71st day of Bureaucracy in the YOLD 3176.

« previous php.db (#47388) next »