Re: special characters in MySQL query

2001-02-19 Thread Ed Carp
Rolf Hopkins ([EMAIL PROTECTED]) writes: > I think you mean addslashes() > > If you are using PHP there is the htmlspecialchars() function that will do > just that for you. > > > > > I have written a program which reads data from WWW forms and passes > > > > it to > > > > > MySQL queries. All w

Re: special characters in MySQL query

2001-02-19 Thread Rolf Hopkins
I think you mean addslashes() - Original Message - From: "Thalis A. Kalfigopoulos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 20, 2001 2:37 Subject: Re: special characters in MySQL query > If you are using PHP there is the htmlspecialc

Re: special characters in MySQL query

2001-02-19 Thread Thalis A. Kalfigopoulos
, 2001 6:35 PM > > Subject: special characters in MySQL query > > > > > > > I have written a program which reads data from WWW forms and passes > > it to > > > MySQL queries. All works fine except for the cases when the form is > > filled > >

Re: special characters in MySQL query

2001-02-18 Thread Rolf Hopkins
ay, February 18, 2001 0:18 Subject: Re: special characters in MySQL query > No, solve it in your own program. > > > - Original Message - > From: "Robert Heron" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, February 17, 2001 6:35 PM &g

Re: special characters in MySQL query

2001-02-17 Thread Artem Koutchine
No, solve it in your own program. - Original Message - From: "Robert Heron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 17, 2001 6:35 PM Subject: special characters in MySQL query > I have written a program which reads data from W

special characters in MySQL query

2001-02-17 Thread Robert Heron
I have written a program which reads data from WWW forms and passes it to MySQL queries. All works fine except for the cases when the form is filled with characters like '%', '"', ''', etc. Then, these characters are treated like special, formatting characters in SQL query, which, of course demage