Re: Escaping an '

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux