[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?

[PHP-DB] Re: Escaping an '

2010-10-16 Thread David Robley
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