RE: [PHP] addslashes for db search?

From: Date: Tue, 11 Jun 2002 22:12:17 +0000
Subject: RE: [PHP] addslashes for db search?
Groups: php.general 
Request: Send a blank email to php-general+get-101634@lists.php.net to get a copy of this message
Can you put things in standard quotes? "'Aimburu" > -----Original Message----- > From: andy [mailto:news.letters@gmx.de] > Sent: Tuesday, June 11, 2002 12:44 AM > To: php-general@lists.php.net; php-db@lists.php.net > Subject: [PHP] addslashes for db search? > > > Hi there, > > I have some db records starting with a ' E.g: 'Aimburu > > Now I am wondering how to retrieve this records. without a > addslashes it > returns an error. So I did add a slash, but then it does not find this > record. > > I tryed this query: > > ...like '\'Aimburu %' ... > > Do I have to change this db entries, and if how? How should > they look like > and is there a good method to change all this thousands of > records at once? > > Thanx in advance, > > Andy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much.

« previous php.general (#101634) next »