Re: Newbie problem - Slashes

From: Date: Thu, 27 Jun 2002 21:32:50 +0000
Subject: Re: Newbie problem - Slashes
Groups: php.general 
Request: Send a blank email to php-general+get-104225@lists.php.net to get a copy of this message
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 cutting off everything after the escapeing \.....? eg: When i enter: My pal is Lisa O"neil and escape it with: (via addslashes) My pal is Lisa O\"neil in the database all thats entered is: My pal is Lisa O\ Why is that? Please help, -Kim.

« previous php.general (#104225) next »