RE: [PHP] Newbie problem - Slashes

2002-06-27 Thread John Holmes
Show us your code. ---John Holmes... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 5:33 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: [PHP] Newbie problem - Slashes >

Re: [PHP] Newbie problem - Slashes

2002-06-27 Thread Nookie
Hi, Maybe mysql_escape_string($string) helps? Greetings, Nookie - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002 11:32 PM Subject: Re: [PHP] Newbie problem - Slash

Re: [PHP] Newbie problem - Slashes

2002-06-27 Thread kim
Hi John,Phillip, Thanks for writing. > You're fault. :) Guessed as much. :-) I know quotes are used for the beginning and end of a string,but i'm thinking what if a user "accidently" puts in a double quote.maybe as a typo error? The part I cannot understand is why is the MySql database's

Re: [PHP] Newbie problem - Slashes

2002-06-27 Thread 1LT John W. Holmes
You're fault. :) Remember that quotes are used to tell the beginning and end of a string. So if you are using a " to mean the beginning of the string, then there can't be any " within the string itself. If there are any ", they need to be changed to \", which means they are escaped. magic_quotes