Re: [PHP-DB] Escaping an '

2010-10-17 Thread Bastien
Mysql_real_escape_string($bar)

Bastien Koert
905-904-0334
Sent from my iPhone

On 2010-10-16, at 10:41 PM, "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?
> 

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



[PHP-DB] Escaping an '

2010-10-16 Thread Ron Piggott
For a query similar to:

SELECT * FROM `tablle` WHERE `column` LIKE 'Sally's Hair Parlor' 

how do I escape the ' for 's?