Re: [PHP] single quotes in database

2003-11-07 Thread Burhan Khalid
Steve Buehler wrote: I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single quotes in them. [snipped] mysql_escape_string() stripslashes() addslashes() -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -

Re: [PHP] single quotes in database

2003-11-07 Thread Chris Shiflett
--- Steve Buehler <[EMAIL PROTECTED]> wrote: > I am using PHP/MySQL and am having a problem. We have some names and > addresses in the database that have single quotes in them. For > instance. There is a town around here called "Lee's Summit". Also > names like "O'connel". When I pull from the da

[PHP] single quotes in database

2003-11-07 Thread Steve Buehler
I am using PHP/MySQL and am having a problem. We have some names and addresses in the database that have single quotes in them. For instance. There is a town around here called "Lee's Summit". Also names like "O'connel". When I pull from the database it skips these because of the quotes.