Re: Escaping an '

[email protected] (David Robley)
Newsgroups php.db
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.