[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

[PHP-DB] Re: escaping line brakes

2002-07-16 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi there, > > I am putting text into a mysql db from a form field. I do include the > linebrakes with line2br. > > Now I would like to create an interface where I could load the text into the > form again to edit it. Unfortunatelly it